Skip to content

Commit

Permalink
Fixed bookstack and traefik configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Homemediadocker committed May 6, 2024
1 parent 65a4394 commit dac97cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions compose-files/bookstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
- ${BOOKSTACK_DB_CONTAINER_NAME}
networks:
- homelab
- bookstack
profiles:
- all
- bookstack
Expand All @@ -43,6 +44,8 @@ services:
volumes:
- ${DEFAULT_CONTAINER_DATA_LOCATION}/Bookstack/db:/config
restart: unless-stopped
networks:
- bookstack
profiles:
- all
- bookstack
1 change: 1 addition & 0 deletions compose-files/networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ networks:
driver: bridge
name: home-media-docker_default
zwave:
bookstack:
5 changes: 4 additions & 1 deletion compose-files/traefik-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions traefik-data/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit dac97cf

Please sign in to comment.