docker-compose/pyshelf/docker-compose.yml
2022-02-22 17:10:12 +08:00

21 lines
487 B
YAML

version: "3.3"
services:
db:
image: "postgres"
environment:
- "POSTGRES_PASSWORD=pyshelf"
- "POSTGRES_USER=pyshelf"
- "POSTGRES_DB=pyshelf"
volumes:
- "./data:/var/lib/postgresql/data/"
pyshelf:
image: "pyshelf/pyshelf"
ports:
- "8011:8000"
- "1337:1337"
volumes:
- "/Media/Books:/books"
depends_on:
- db