Declare all env variables in the Dockerfile albeit commented

This commit is contained in:
Gabriel Augendre 2021-01-05 18:28:32 +01:00
parent 0fc99c2a0c
commit c14a3f1b0d
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -53,8 +53,18 @@ COPY --from=git /version /app/.version
ENV SECRET_KEY "changeme" ENV SECRET_KEY "changeme"
ENV DEBUG "false" ENV DEBUG "false"
ENV HOST ""
ENV DB_BASE_DIR "/db" ENV DB_BASE_DIR "/db"
#ENV HOSTS="host1;host2"
#ENV ADMINS='Full Name,email@example.com'
#ENV MAILGUN_API_KEY='key-yourapikey'
#ENV MAILGUN_SENDER_DOMAIN='mailgun.example.com'
#ENV BLOG_BASE_URL='https://url-of-your-blog.example.com'
#ENV SHORTPIXEL_API_KEY='YOURAPIKEY'
#ENV SHORTPIXEL_RESIZE_WIDTH='750'
#ENV SHORTPIXEL_RESIZE_HEIGHT='10000'
#ENV PLAUSIBLE_DOMAIN='url-of-your-blog.example.com'
#ENV GOATCOUNTER_DOMAIN='blog.goatcounter.example.com'
#ENV MEMCACHED_LOCATION='memcached:11211'
HEALTHCHECK --start-period=30s CMD python -c "import requests; requests.get('http://localhost:8000', timeout=2)" HEALTHCHECK --start-period=30s CMD python -c "import requests; requests.get('http://localhost:8000', timeout=2)"