This commit is contained in:
how2ice
2025-08-16 14:19:20 +09:00
parent 44cca8f122
commit 3b3ae51be4
1474 changed files with 20539 additions and 1058 deletions

View File

@@ -8,22 +8,20 @@ services:
- ./:/app
ports:
- "${PORT}:${PORT}"
command: sh -c "npm install && npm start"
command: sh -c "npm install && npm run dev"
db:
image: postgres:16
container_name: postgres-db
restart: always
image: mysql:8.1
container_name: my_mysql
environment:
POSTGRES_USER: how2ice
POSTGRES_PASSWORD: tnals1459
POSTGRES_DB: mydb
ports:
- "5432:5432"
MYSQL_ROOT_PASSWORD: tnals1459
MYSQL_USER: how2ice
MYSQL_PASSWORD: tnals1459
MYSQL_DATABASE: mydb
volumes:
- ./db_data/data:/var/lib/postgresql/data
- ./db_data/init.sql:/docker-entrypoint-initdb.d/init.sql
#networks:
# - msa-net
volumes:
db:
# 초기화 SQL 스크립트 폴더
- ./db_data/init.d:/docker-entrypoint-initdb.d:ro
# MySQL 데이터 저장
- ./db_data/data:/var/lib/mysql
#ports:
#- "3306:3306"