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

62 lines
2.2 KiB
YAML
Raw Permalink Normal View History

local domain configs A-G (#676) * feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
2023-06-10 14:46:05 +00:00
version: "3.7"
2022-08-29 19:26:46 +00:00
services:
bookstack:
image: lscr.io/linuxserver/bookstack:24.05.20240520
2022-08-29 19:26:46 +00:00
container_name: bookstack
environment:
- APP_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
2022-08-29 20:21:34 +00:00
- 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:
local domain configs A-G (#676) * feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
2023-06-10 14:46:05 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.bookstack-web-redirect.redirectscheme.scheme: https
traefik.http.services.bookstack.loadbalancer.server.port: 80
# Web
traefik.http.routers.bookstack-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.bookstack-insecure.entrypoints: web
traefik.http.routers.bookstack-insecure.service: bookstack
traefik.http.routers.bookstack-insecure.middlewares: bookstack-web-redirect
# Websecure
2022-11-11 19:33:58 +00:00
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
local domain configs A-G (#676) * feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
2023-06-10 14:46:05 +00:00
# Local domain
traefik.http.routers.bookstack-local-insecure.rule: Host(`bookstack.${LOCAL_DOMAIN}`)
traefik.http.routers.bookstack-local-insecure.entrypoints: web
traefik.http.routers.bookstack-local-insecure.service: bookstack
traefik.http.routers.bookstack-local-insecure.middlewares: bookstack-web-redirect
# Local domain secure
traefik.http.routers.bookstack-local.rule: Host(`bookstack.${LOCAL_DOMAIN}`)
traefik.http.routers.bookstack-local.entrypoints: websecure
traefik.http.routers.bookstack-local.service: bookstack
traefik.http.routers.bookstack-local.tls: true
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