backup 스크립트 구성

This commit is contained in:
2022-07-25 00:04:13 +09:00
parent b6875f45ea
commit afa45119e5
3 changed files with 98 additions and 2 deletions
+16 -2
View File
@@ -9,7 +9,7 @@ services:
env_file:
- account.env
- game.env
web:
build: ./web
restart: always
@@ -54,6 +54,19 @@ services:
- db
- web
backup:
build: ./backup
restart: "no"
volumes:
- hidche:/var/www/html:ro
- backup:/var/backup
env_file:
- account.env
- game.env
depends_on:
- app
- db
cron:
build: ./cron
restart: always
@@ -65,4 +78,5 @@ services:
volumes:
db:
hidche:
board:
board:
backup: