You've already forked ghost-matomo-mariadb-traefik-ssl
Updated docker-compose to working state. Removed reliance on traefik.toml
- New .env example with streamlined variable names - Assumes https by default with http-to-http redirect enabled (Remove the redirect on line 25 to disable this) - Assumes each domain(s) specified are different from one another, so that all parts can all be accessed from the same port (443). - Forcibly disabled traefik on the db so that it won't try to get a certificate for it (I don't know why it does this) - Set specific versions for Matomo (3) and Ghost (2) to avoid watchtower automatically making big upgrades Still missing: - The first time Ghost will fail to launch as MariaDB isn't ready right away. docker-compose got away with a health check. I might want to play with https://github.com/vishnubob/wait-for-it later
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
# Traefik will listen for traffic on both HTTP and HTTPS.
|
||||
defaultEntryPoints = ["http", "https"]
|
||||
|
||||
# Network traffic will be entering our Docker network on the usual web ports
|
||||
# (ie, 80 and 443), where Traefik will be listening.
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
|
||||
# Uncomment the following two lines to redirect HTTP to HTTPS.
|
||||
#[entryPoints.http.redirect]
|
||||
#entryPoint = "https"
|
||||
|
||||
[entryPoints.https]
|
||||
address = ":443"
|
||||
[entryPoints.https.tls]
|
||||
|
||||
# These options are for Traefik's integration with Docker.
|
||||
[docker]
|
||||
endpoint = "unix:///var/run/docker.sock"
|
||||
domain = "docker.localhost"
|
||||
watch = true
|
||||
exposedByDefault = false
|
||||
|
||||
[api]
|
||||
|
||||
# These options are for Traefik's integration with Let's Encrypt.
|
||||
# Your certificates are stored inside /acme.json inside the container,
|
||||
# which is /root/compose/acme.json on your server.
|
||||
[acme]
|
||||
storage = "./config/acme.json"
|
||||
onHostRule = true
|
||||
entryPoint = "https"
|
||||
[acme.httpChallenge]
|
||||
entryPoint = "http"
|
||||
|
||||
# https://docs.traefik.io/configuration/logs/
|
||||
# Comment out the next line to enable Traefik's access logs.
|
||||
[accessLog]
|
||||
|
||||
Reference in New Issue
Block a user