X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docker-compose.yml;h=a3de4b1c42424a2fcd25fccc17513b11e8556a5d;hb=5f987a64d88e0c1bb0da8bde9050e3409879cbda;hp=fc68bf30f038ef5697559c29160c187335f08b5b;hpb=81c801300b2912dc19a24314629ee550b1899d34;p=github%2Fshaarli%2FShaarli.git diff --git a/docker-compose.yml b/docker-compose.yml index fc68bf30..a3de4b1c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,13 @@ --- -# Shaarli - Docker Compose script +# Shaarli - Docker Compose example configuration # # See: # - https://shaarli.readthedocs.io/en/master/docker/shaarli-images/ +# - https://shaarli.readthedocs.io/en/master/guides/install-shaarli-with-debian9-and-docker/ +# +# Environment variables: +# - SHAARLI_VIRTUAL_HOST Fully Qualified Domain Name for the Shaarli instance +# - SHAARLI_LETSENCRYPT_EMAIL Contact email for certificate renewal version: '3' networks: @@ -28,7 +33,7 @@ services: traefik.frontend.rule: "Host:${SHAARLI_VIRTUAL_HOST}" traefik: - image: traefik + image: traefik:1.7-alpine command: - "--defaultentrypoints=http,https" - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https"