update backup entrypoint

This commit is contained in:
2023-02-25 19:36:09 +09:00
parent 40f15e7676
commit ccf2a4a657
2 changed files with 4 additions and 6 deletions
+1 -2
View File
@@ -58,8 +58,7 @@ services:
build: ./backup
restart: "no"
#restart: always
command:
- echo 'backup is disabled'
#command:
#- crond -f -L /dev/stdout
volumes:
- hidche:/var/www/html:ro
+3 -4
View File
@@ -69,11 +69,10 @@ services:
backup:
restart: "no"
entrypoint: ["echo", "backup is disabled"]
volumes:
- type: bind
source: ~/dev_sam/backup
target: /var/backup
#- type: bind
# source: ~/dev_sam/backup
# target: /var/backup
- type: bind
read_only: true
source: ~/dev_sam/app