Files
calminer/docker-compose.yml
zwitschi c1f4902cf4
Some checks failed
CI / test (pull_request) Failing after 3m19s
fix: update UVICORN_PORT to 8003 in Dockerfile and docker-compose.yml
2025-11-02 11:07:28 +01:00

37 lines
745 B
YAML

version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8003:8003"
environment:
- DATABASE_HOST=postgres
- DATABASE_PORT=5432
- DATABASE_USER=calminer
- DATABASE_PASSWORD=calminer_password
- DATABASE_NAME=calminer_db
- DATABASE_DRIVER=postgresql
depends_on:
- postgres
volumes:
- ./logs:/app/logs
restart: unless-stopped
postgres:
image: postgres:17
environment:
- POSTGRES_USER=calminer
- POSTGRES_PASSWORD=calminer_password
- POSTGRES_DB=calminer_db
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_data: