From c14a3f1b0d5679451c7814d5ca76e110382920e5 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 5 Jan 2021 18:28:32 +0100 Subject: [PATCH] Declare all env variables in the Dockerfile albeit commented --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5bf9d6d..6c083ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,8 +53,18 @@ COPY --from=git /version /app/.version ENV SECRET_KEY "changeme" ENV DEBUG "false" -ENV HOST "" 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)"