wow
This commit is contained in:
commit
6786cb6148
31 changed files with 2352 additions and 0 deletions
40
compose.yml
Normal file
40
compose.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue