update backup entrypoint
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user