fedilogue/docker-compose.yml

26 lines
523 B
YAML

services:
fedilogue:
build: fedilogger/
depends_on:
- db
ports:
- "127.0.0.1:5555:5555"
restapi:
build: restapi/
ports:
- "127.0.0.1:6431:6432"
environment:
POSTGRES_USER: $PGUSER
POSTGRES_PASSWORD: $PGPASS
POSTGRES_DB: $PGDATABASE
depends_on:
- db
db:
image: postgres:alpine
environment:
POSTGRES_USER: $PGUSER
POSTGRES_PASSWORD: $PGPASS
POSTGRES_DB: $PGDATABASE
volumes:
- ./postgres-data:/var/lib/postgresql