app-store/apps/bookstack/docker-compose.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

2022-09-07 05:09:27 +00:00
version: "3.7"
2022-08-29 19:26:46 +00:00
services:
bookstack:
image: lscr.io/linuxserver/bookstack:23.05.20230503
2022-08-29 19:26:46 +00:00
container_name: bookstack
environment:
2022-08-29 20:21:34 +00:00
- APP_URL=http://${INTERNAL_IP}:${APP_PORT}
- DB_HOST=bookstack-db
- DB_USERNAME=tipi
- DB_PASSWORD=${BOOKSTACK_DB_PASS}
2022-08-29 19:26:46 +00:00
- DB_DATABASE=bookstackapp
volumes:
- ${APP_DATA_DIR}/data/config:/config
2022-08-29 19:32:25 +00:00
dns:
- ${DNS_IP}
2022-08-29 19:26:46 +00:00
ports:
- ${APP_PORT}:80
restart: unless-stopped
depends_on:
- bookstack-db
networks:
- tipi_main_network
2022-11-11 19:33:58 +00:00
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.bookstack.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.bookstack.entrypoints: websecure
traefik.http.routers.bookstack.service: bookstack
traefik.http.routers.bookstack.tls.certresolver: myresolver
traefik.http.services.bookstack.loadbalancer.server.port: 80
2022-08-29 19:26:46 +00:00
bookstack-db:
image: lscr.io/linuxserver/mariadb
container_name: bookstack-db
environment:
- TZ=${TZ}
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=tipi
- MYSQL_PASSWORD=${BOOKSTACK_DB_PASS}
volumes:
- ${APP_DATA_DIR}/data/db:/config
restart: unless-stopped
networks:
- tipi_main_network