This commit is contained in:
암냥 2026-04-15 00:56:08 +09:00
commit 6786cb6148
No known key found for this signature in database
31 changed files with 2352 additions and 0 deletions

40
compose.yml Normal file
View file

@ -0,0 +1,40 @@
services:
frontend:
build: ./apps/frontend
ports:
- "3000:3000"
environment:
- NODE_ENV=production
depends_on:
- backend
backend:
build: ./apps/backend
ports:
- "1108:1108"
environment:
- NODE_ENV=production
depends_on:
- ferretdb
postgres:
image: ghcr.io/ferretdb/postgres-documentdb:17-0.107.0-ferretdb-2.7.0
restart: always
environment:
- POSTGRES_USER=${POSTGRES_USER:-mizuki}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-akiyama_mizuki_is_web_programmer}
- POSTGRES_DB=postgres
volumes:
- ./data:/var/lib/postgresql/data
ferretdb:
image: ghcr.io/ferretdb/ferretdb:2.7.0
restart: always
ports:
- 27017:27017
environment:
- FERRETDB_POSTGRESQL_URL=postgres://${POSTGRES_USER:-mizuki}:${POSTGRES_PASSWORD:-akiyama_mizuki_is_web_programmer}@postgres:5432/postgres
depends_on:
- postgres