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 build: ./backup
restart: "no" restart: "no"
#restart: always #restart: always
command: #command:
- echo 'backup is disabled'
#- crond -f -L /dev/stdout #- crond -f -L /dev/stdout
volumes: volumes:
- hidche:/var/www/html:ro - hidche:/var/www/html:ro
+3 -4
View File
@@ -69,11 +69,10 @@ services:
backup: backup:
restart: "no" restart: "no"
entrypoint: ["echo", "backup is disabled"]
volumes: volumes:
- type: bind #- type: bind
source: ~/dev_sam/backup # source: ~/dev_sam/backup
target: /var/backup # target: /var/backup
- type: bind - type: bind
read_only: true read_only: true
source: ~/dev_sam/app source: ~/dev_sam/app