This commit is contained in:
how2ice
2025-08-14 23:34:11 +09:00
commit 44cca8f122
2224 changed files with 113884 additions and 0 deletions

29
docker-compose.yml Executable file
View File

@@ -0,0 +1,29 @@
version: "3.8"
services:
micro-app:
build: .
container_name: ${APP}
volumes:
- ./:/app
ports:
- "${PORT}:${PORT}"
command: sh -c "npm install && npm start"
db:
image: postgres:16
container_name: postgres-db
restart: always
environment:
POSTGRES_USER: how2ice
POSTGRES_PASSWORD: tnals1459
POSTGRES_DB: mydb
ports:
- "5432:5432"
volumes:
- ./db_data/data:/var/lib/postgresql/data
- ./db_data/init.sql:/docker-entrypoint-initdb.d/init.sql
#networks:
# - msa-net
volumes:
db: