2024-11-28 01:21:27 +02:00
|
|
|
services:
|
|
|
|
app:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
ports:
|
|
|
|
- "4000:4000"
|
|
|
|
environment:
|
|
|
|
- DATABASE_URL=${DATABASE_URL}
|
|
|
|
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
|
2024-11-28 12:31:10 +02:00
|
|
|
- EXMR_ENABLE_REGISTRATION=true
|
|
|
|
depends_on:
|
|
|
|
- db
|
2024-11-28 01:21:27 +02:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:16-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
|
|
volumes:
|
|
|
|
- db_data:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db_data:
|