Skip to content

Commit

Permalink
chore: docker-compose.yaml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsudang committed Dec 24, 2024
1 parent e4acb6a commit cdbe804
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
image: kimsudang/nest-js-app:latest
container_name: app_container
ports:
- '${PORT:-8080}:${PORT:-8080}'
- '${PORT}:${PORT}'
environment:
- PORT=${PORT}
- MYSQL_HOST=${MYSQL_HOST}
Expand Down Expand Up @@ -31,7 +31,7 @@ services:
image: mysql:8.0
container_name: mysql_container
ports:
- '${MYSQL_PORT:-3306}:${MYSQL_PORT:-3306}'
- '${MYSQL_PORT}:${MYSQL_PORT}'
volumes:
- mysql_data:/var/lib/mysql
environment:
Expand All @@ -52,7 +52,7 @@ services:
image: redis:latest
container_name: redis_container
ports:
- '${REDIS_PORT:-6379}:${REDIS_PORT:-6379}'
- '${REDIS_PORT}:${REDIS_PORT}'
command: redis-server --requirepass ${REDIS_PASSWORD} --port ${REDIS_PORT} --appendonly yes
volumes:
- redis_data:/data
Expand All @@ -68,7 +68,7 @@ services:
image: mongo:5.0.9
container_name: mongo_container
ports:
- '${MONGO_PORT:-27017}:${MONGO_PORT:-27017}'
- '${MONGO_PORT}:${MONGO_PORT}'
volumes:
- mongo_data:/data/db
environment:
Expand Down

0 comments on commit cdbe804

Please sign in to comment.