docker compose에 백업 스크립트 구성

This commit is contained in:
2022-07-25 00:14:46 +09:00
parent afa45119e5
commit 6ebe151858
3 changed files with 25 additions and 0 deletions
+4
View File
@@ -57,6 +57,10 @@ services:
backup:
build: ./backup
restart: "no"
#restart: always
command:
- echo 'backup is disabled'
#- crond -f -L /dev/stdout
volumes:
- hidche:/var/www/html:ro
- backup:/var/backup