complete
This commit is contained in:
parent
fdb45f953e
commit
ca45a6df02
6 changed files with 58 additions and 35 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue