pacco/docker-compose.yml
2025-01-13 11:39:00 +01:00

24 lines
No EOL
524 B
YAML

services:
pacco:
build: .
ports:
- "8080:8000"
volumes:
- ./data:/data
- ./config.toml:/config.toml
environment:
- "RUST_LOG=info"
- "ROCKET_ADDRESS=0.0.0.0"
- "DATABASE_URL=postgres://user:pass@postgres/pacco"
postgres:
image: timescale/timescaledb:latest-pg16
restart: always
ports:
- 5432:5432
volumes:
- ./db:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=pass
- POSTGRES_DB=pacco