production 설정 수정 - port 중복, 로그 설정
This commit is contained in:
+7
-2
@@ -5,8 +5,8 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: chocoadmin:latest
|
image: chocoadmin:latest
|
||||||
container_name: chocoadmin
|
container_name: chocoadmin
|
||||||
ports:
|
expose:
|
||||||
- "3000:3000"
|
- "3000"
|
||||||
env_file:
|
env_file:
|
||||||
- ${ENV_FILE:-.env.production}
|
- ${ENV_FILE:-.env.production}
|
||||||
environment:
|
environment:
|
||||||
@@ -18,6 +18,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy-network
|
- proxy-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy-network:
|
proxy-network:
|
||||||
|
|||||||
Reference in New Issue
Block a user