From dac97cfc1e92ee8661c2d458c96dccb9ea58a966 Mon Sep 17 00:00:00 2001 From: Homemediadocker Date: Sun, 5 May 2024 21:11:50 -0500 Subject: [PATCH] Fixed bookstack and traefik configs --- compose-files/bookstack.yml | 3 +++ compose-files/networks.yml | 1 + compose-files/traefik-compose.yml | 5 ++++- traefik-data/traefik.yml | 4 ++-- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/compose-files/bookstack.yml b/compose-files/bookstack.yml index 111d0c5..97dcd31 100644 --- a/compose-files/bookstack.yml +++ b/compose-files/bookstack.yml @@ -26,6 +26,7 @@ services: - ${BOOKSTACK_DB_CONTAINER_NAME} networks: - homelab + - bookstack profiles: - all - bookstack @@ -43,6 +44,8 @@ services: volumes: - ${DEFAULT_CONTAINER_DATA_LOCATION}/Bookstack/db:/config restart: unless-stopped + networks: + - bookstack profiles: - all - bookstack diff --git a/compose-files/networks.yml b/compose-files/networks.yml index ac446db..d3a1969 100644 --- a/compose-files/networks.yml +++ b/compose-files/networks.yml @@ -13,3 +13,4 @@ networks: driver: bridge name: home-media-docker_default zwave: + bookstack: diff --git a/compose-files/traefik-compose.yml b/compose-files/traefik-compose.yml index 2f5d45a..c4a5864 100644 --- a/compose-files/traefik-compose.yml +++ b/compose-files/traefik-compose.yml @@ -14,7 +14,7 @@ services: - ${TRAEFIK_DASHBOARD_PORT}:8080 environment: # CF_DNS_API_TOKEN_FILE: /run/secrets/cf_api_token # note using _FILE for docker secrets - # CF_DNS_API_TOKEN: ${CF_DNS_API_TOKEN} # if using .env + CF_DNS_API_TOKEN: ${CF_DNS_API_TOKEN} # if using .env TRAEFIK_DASHBOARD_CREDENTIALS: ${TRAEFIK_DASHBOARD_CREDENTIALS} NETLIFY_TOKEN: ${TRAEFIK_NETLIFY_TOKEN} # secrets: @@ -41,3 +41,6 @@ services: - "traefik.http.routers.${TRAEFIK_CONTAINER_NAME}-secure.tls.domains[0].main=${PROJECT_HOSTNAME}" - "traefik.http.routers.${TRAEFIK_CONTAINER_NAME}-secure.tls.domains[0].sans=*.${PROJECT_HOSTNAME}" - "traefik.http.routers.${TRAEFIK_CONTAINER_NAME}-secure.service=api@internal" + profiles: + - all + - traefik diff --git a/traefik-data/traefik.yml b/traefik-data/traefik.yml index 4db2f0a..106bba0 100644 --- a/traefik-data/traefik.yml +++ b/traefik-data/traefik.yml @@ -30,7 +30,7 @@ certificatesResolvers: dnsChallenge: provider: netlify disablePropagationCheck: true # uncomment this if you have issues pulling certificates through cloudflare, By setting this flag to true disables the need to wait for the propagation of the TXT record to all authoritative name servers. - #delayBeforeCheck: 60s # uncomment along with disablePropagationCheck if needed to ensure the TXT record is ready before verification is attempted + delayBeforeCheck: 60s # uncomment along with disablePropagationCheck if needed to ensure the TXT record is ready before verification is attempted resolvers: - "1.1.1.1:53" - "1.0.0.1:53" @@ -43,7 +43,7 @@ certificatesResolvers: dnsChallenge: provider: cloudflare disablePropagationCheck: true # uncomment this if you have issues pulling certificates through cloudflare, By setting this flag to true disables the need to wait for the propagation of the TXT record to all authoritative name servers. - #delayBeforeCheck: 60s # uncomment along with disablePropagationCheck if needed to ensure the TXT record is ready before verification is attempted + delayBeforeCheck: 60s # uncomment along with disablePropagationCheck if needed to ensure the TXT record is ready before verification is attempted resolvers: - "1.1.1.1:53" - "1.0.0.1:53"