diff --git a/.gitignore b/.gitignore index 3323b34..53d6ed5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ .env .DS_Store + +./config/acme +./config/matomo +./content \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 8d8daaf..2f7d0de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,7 +46,6 @@ services: # Map port 80 and 443 on the host to this container. - "80:80" - "443:443" - #- "8000:8080" # Traefik Dashboard labels: - "traefik.enable=true" - "traefik.docker.network=frontend" @@ -134,10 +133,10 @@ services: # Uncomment the next line to enable HSTS header. #- "traefik.frontend.headers.STSSeconds=15768000" - # This allows Matomo to send email straight out of the box without - # having to rely on an external provider like SendGrid or MailGun. + # This allows Matomo and Ghost to send email straight out of the box. # It makes an SMTP host available at the hostname "mail". mail: + # https://hub.docker.com/r/bytemark/smtp image: bytemark/smtp restart: unless-stopped networks: diff --git a/example.env b/example.env index 3ec521e..1c51ed6 100644 --- a/example.env +++ b/example.env @@ -10,20 +10,25 @@ BASIC_AUTH= # Let's Encrypt needs an email address for registration. ACME_EMAIL= -# The main URL of your blog. Ghost needs this when using Traefik -# or it'll confusinglyy think its URL is localhost, breaking things -# like your cover image or the "visit site" link in the Dashboard -BLOG_URL= +# The email address your server should email from +# Note: this just sets the email address, no proper SMTP login is set +# up so you'll likely want to make a spam filter exception for these messages +SERVER_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 +# The main URL of your blog. Ghost needs this when using Traefik +# or it'll confusinglyy think its URL is localhost, breaking things +# like your cover image or the "visit site" link in the Dashboard +BLOG_URL= + +# Set a secure password for the MySQL root user. DB_ROOT_PASSWORD= -# Set the MySQL database name, user and password for Matomo. -DB_NAME=davejansen -DB_USER=davejansen +# Set the MySQL database name, user and password for that Matomo and Ghost will use. +DB_NAME= +DB_USER= DB_PASSWORD=