fedilogue/docker-compose.yml

24 lines
447 B
YAML

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