diff --git a/hidche/docker-compose.yml b/hidche/docker-compose.yml index 5d2831d..89fccc9 100644 --- a/hidche/docker-compose.yml +++ b/hidche/docker-compose.yml @@ -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 diff --git a/hidche/example.docker-compose.override.yml b/hidche/example.docker-compose.override.yml index 5257ac6..2f90abc 100644 --- a/hidche/example.docker-compose.override.yml +++ b/hidche/example.docker-compose.override.yml @@ -66,3 +66,21 @@ services: target: /var/www/html depends_on: - app + + backup: + #restart: always + command: + - echo 'backup is disabled' + #- crond -f -L /dev/stdout + volumes: + - type: bind + source: ~/dev_sam/backup + target: /var/backup + - type: bind + read_only: true + source: ~/dev_sam/app + target: /var/www/html + - type: bind + read_only: true + source: ~/dev_sam/board + target: /var/www/board diff --git a/hidche/game.orig.env b/hidche/game.orig.env index 9e49f88..20328b3 100644 --- a/hidche/game.orig.env +++ b/hidche/game.orig.env @@ -19,3 +19,6 @@ HIDCHE_GAME_PATH=http://127.0.0.1:8080/sam HIDCHE_IMAGE_USE_INTERNAL=yes #이미지 경로, HIDCHE_IMAGE_USE_INTERNAL이 yes인 경우 HIDCHE_GAME_PATH의 상대 경로. yes가 아닌 경우 전체 도메인 경로. HIDCHE_IMAGE_PATH=../image + +#게시판 서버내 파일 백업 경로, /var/www/board/files 가 아니라면 직접 지정 +#HIDCHE_BOARD_FILES_PATH= \ No newline at end of file