exmr/docker-compose.yml
Vladimir Rubin 207c11f2cc
Some checks failed
Checks / check (push) Failing after -6m32s
Build and Push Docker Image / Build and Push Image (push) Successful in -7m0s
Revert 2 commits
b0797d2 'fix: don't copy from chatgpt'
7ba1305 'deploy: add elastic email'

elasticemail doesn't work on free tier😭😭😭
2024-12-26 20:31:59 +02:00

25 lines
517 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "4000:4000"
environment:
- DATABASE_URL=${DATABASE_URL}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- EXMR_ENABLE_REGISTRATION=true
depends_on:
- db
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: