33 lines
788 B
YAML
33 lines
788 B
YAML
services:
|
|
fedilogue:
|
|
build: fedilogue/
|
|
environment:
|
|
POSTGRES_USER: fedilogue
|
|
POSTGRES_PASSWORD: someverylongpassphrasehere
|
|
POSTGRES_HOSTNAME: db
|
|
POSTGRES_DB: fedilogue
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "5555:5555"
|
|
restapi:
|
|
build: restapi/
|
|
ports:
|
|
- "6432:6432"
|
|
environment:
|
|
POSTGRES_USER: fedilogue
|
|
POSTGRES_PASSWORD: someverylongpassphrasehere
|
|
POSTGRES_HOSTNAME: db
|
|
POSTGRES_DB: fedilogue
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_USER: fedilogue
|
|
POSTGRES_PASSWORD: someverylongpassphrasehere
|
|
POSTGRES_DB: fedilogue
|
|
volumes:
|
|
- ./postgres-data:/var/lib/postgresql
|
|
- ./fedilogue/tables.sql:/docker-entrypoint-initdb.d/tables.sql
|