You've already forked ghost-matomo-mariadb-traefik-ssl
- 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
25 lines
716 B
Bash
25 lines
716 B
Bash
|
|
# Docker Compose can read environment variables from this file.
|
|
# See https://docs.docker.com/compose/env-file/
|
|
|
|
# Put admin areas behind a login prompt, with username and password
|
|
# specified here. Run `htpasswd -n admin` to create a password hash
|
|
# for user "admin". Paste the output here. SSL strongly recommended.
|
|
BASIC_AUTH=
|
|
|
|
# Let's Encrypt needs an email address for registration.
|
|
ACME_EMAIL=
|
|
|
|
# You can comma-separate multiple domains if need be (e.g. for www.)
|
|
DOMAINS_BLOG=
|
|
DOMAINS_TRAEFIK=
|
|
DOMAINS_MATOMO=
|
|
|
|
# Set a secure password for the MySQL root user. Remember this so
|
|
DB_ROOT_PASSWORD=
|
|
|
|
# Set the MySQL database name, user and password for Matomo.
|
|
DB_NAME=davejansen
|
|
DB_USER=davejansen
|
|
DB_PASSWORD=
|