fedilogue/docker-compose.yml

32 lines
777 B
YAML
Raw Normal View History

services:
fedilogue:
2025-01-24 21:30:25 +00:00
build: fedilogue/
environment:
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_HOSTNAME: $POSTGRES_HOSTNAME
POSTGRES_DB: $POSTGRES_DB
depends_on:
- db
ports:
- "127.0.0.1:5555:5555"
restapi:
build: restapi/
ports:
- "127.0.0.1:6431:6432"
2025-01-22 02:19:09 +00:00
environment:
2025-01-24 21:30:25 +00:00
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_HOSTNAME: $POSTGRES_HOSTNAME
POSTGRES_DB: $POSTGRES_DB
depends_on:
- db
db:
image: postgres:alpine
environment:
2025-01-24 21:30:25 +00:00
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_DB: $POSTGRES_DB
volumes:
2025-01-22 02:19:09 +00:00
- ./postgres-data:/var/lib/postgresql