update backup entrypoint

This commit is contained in:
Hide_D committed 2023-02-25 19:36:09 +09:00
1 parent 40f15e7676
commit ccf2a4a657
2 files changed
+4 -6

No files matched your search

+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