backup 스크립트 구성
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user