Skip to content

Commit

Permalink
fix: 도커 로깅 폴더 공유, 도커 시간 한국시간으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rladydgn committed Dec 6, 2023
1 parent c41e00b commit f0cd69f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion be/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ services:
- /home/be/algo-with-me/problems/:/algo-with-me/problems/
- /home/be/algo-with-me/submissions/:/algo-with-me/submissions/
- /home/be/algo-with-me/testcases/:/algo-with-me/testcases/
- /home/be/web12-algo-with-me/be/algo-with-me-api/log/:/algo-with-me-api/log
network_mode: host
env_file:
./algo-with-me-api/.env
- ./algo-with-me-api/.env
environment:
TZ: "Asia/Seoul"
user: be:be
restart: always
algo-with-me-score:
Expand All @@ -20,11 +23,13 @@ services:
- /home/be/algo-with-me/problems/:/algo-with-me/problems/
- /home/be/algo-with-me/submissions/:/algo-with-me/submissions/
- /home/be/algo-with-me/testcases/:/algo-with-me/testcases/
- /home/be/web12-algo-with-me/be/algo-with-me-score/log/:/algo-with-me-score/log
network_mode: host
env_file:
- ./algo-with-me-score/.env
environment:
DOCKER_CONTAINER_COUNT: ${DOCKER_CONTAINER_COUNT}
TZ: "Asia/Seoul"
user: be:be
restart: always
algo-with-me-docker:
Expand All @@ -37,6 +42,8 @@ services:
- /home/be/algo-with-me/testcases/:/algo-with-me/testcases/
network_mode: bridge
user: 1001:1001
environment:
TZ: "Asia/Seoul"
restart: always
deploy:
mode: replicated
Expand Down

0 comments on commit f0cd69f

Please sign in to comment.