Adds pyproject.toml, environment.yml, Dockerfile, docker/web (Vue+nginx), compose.yml, compose.override.yml.example, manage.sh, .env.example, .gitignore, and config stubs for the pagepiper self-hosted PDF library tool. Port 8521. No secrets committed.
21 lines
414 B
YAML
21 lines
414 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"
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- api
|