Jafner.net/archive/self-hosting/bookstack/docker-compose.yml
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

47 lines
1.1 KiB
YAML
Executable File

---
version: "2"
services:
bookstack:
image: linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- DB_HOST=bookstack_db
- DB_USER=bookstack
- DB_PASS=yourdbpass
- DB_DATABASE=bookstackapp
- APP_URL=https://docs.jafner.net
volumes:
- /home/joey/docker/bookstack/config:/config
restart: unless-stopped
depends_on:
- bookstack_db
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:docs.jafner.net"
- "traefik.port=80"
- "traefik.docker.network=web"
bookstack_db:
image: linuxserver/mariadb
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=yourdbpass
- TZ=Europe/London
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=yourdbpass
volumes:
- /home/joey/docker/bookstack/config_db:/config
restart: unless-stopped
networks:
- web
networks:
web:
external: true