Browse Source

test links failed mongodb&&mongodb-backup containers must be on the same network

animeic 2 years ago
parent
commit
b62e95794e
2 changed files with 2 additions and 4 deletions
  1. 1 2
      config/box-mongo[all].yaml
  2. 1 2
      docker-compose.yaml

+ 1 - 2
config/box-mongo[all].yaml

@@ -1,7 +1,6 @@
 scheduler:
   # run every day at 6:00 and 18:00 UTC
-  # cron: "0 16 */1 * *"
-  cron: "10 7 */1 * *"
+  cron: "0 16 */1 * *"
   # number of backups to keep locally
   retention: 14
   # backup operation timeout in minutes

+ 1 - 2
docker-compose.yaml

@@ -20,5 +20,4 @@ services:
       - ~/data/mongobackupdata/data:/data
     ports:
       - 8090:8090
-    links:
-      - box-mongo 
+