This commit is contained in:
JMARyA 2024-10-04 19:39:51 +02:00
parent fdb45f953e
commit ca45a6df02
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 58 additions and 35 deletions

View file

@ -3,7 +3,7 @@ services:
synthwave:
build: .
ports:
- "8080:8080"
- "8080:8000"
depends_on:
- postgres
volumes:
@ -11,10 +11,14 @@ services:
- ./media:/media # Audio files
environment:
- "DATABASE_URL=postgres://user:pass@postgres/synthwave"
- "RUST_LOG=info"
- "ROCKET_ADDRESS=0.0.0.0"
postgres:
image: timescale/timescaledb:latest-pg16
restart: always
ports:
- 5432:5432
volumes:
- ./db:/var/lib/postgresql/data/
environment: