work
This commit is contained in:
parent
02b9e34258
commit
7b7e1a4014
10 changed files with 942 additions and 270 deletions
|
@ -5,20 +5,19 @@ services:
|
|||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- mongodb
|
||||
- postgres
|
||||
volumes:
|
||||
- ./data:/data # Runtime data (optional)
|
||||
- ./media:/media # Audio files
|
||||
environment:
|
||||
- "DB_URI=mongodb://user:pass@mongodb:27017"
|
||||
- "DB=synthwrld"
|
||||
- "DATABASE_URL=postgres://user:pass@postgres/synthwave"
|
||||
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
ports:
|
||||
- "27017:27017"
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: user
|
||||
MONGO_INITDB_ROOT_PASSWORD: pass
|
||||
postgres:
|
||||
image: timescale/timescaledb:latest-pg16
|
||||
restart: always
|
||||
volumes:
|
||||
- ./db:/data/db
|
||||
- ./db:/var/lib/postgresql/data/
|
||||
environment:
|
||||
- POSTGRES_USER=user
|
||||
- POSTGRES_PASSWORD=pass
|
||||
- POSTGRES_DB=synthwave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue