pagepiper/compose.yml

23 lines
475 B
YAML

services:
api:
build:
context: ..
dockerfile: pagepiper/Dockerfile
network_mode: host
env_file: .env
volumes:
- ./data:/app/pagepiper/data
- ${PAGEPIPER_BOOKS_DIR:-./books}:/books:ro
restart: unless-stopped
web:
build:
context: .
dockerfile: docker/web/Dockerfile
ports:
- "8521:80"
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
depends_on:
- api