Skip to content

Commit

Permalink
Account for docker-compose behaviour mismatch between versions
Browse files Browse the repository at this point in the history
See docker/compose#8388

Before this version, docker-compose would pass env variables verbatim,
VAR='val' -> 'val'

Newer versions do:
VAR='val' -> val

Fix .env file to work for both. Thanks Anel <[email protected]> for the
initial PR.
  • Loading branch information
cvicentiu committed Oct 24, 2022
1 parent d13f134 commit 2061845
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ MARIADB_CONFDIR=./mariadb/confdir
# for your deployed server.
DJANGO_ALLOWED_HOSTS=*
# This key needs to be set to something proper one in a production deployment.
DJANGO_SECRET_KEY='123'
DJANGO_SECRET_KEY=123
# Any non empty string enables Debug mode for Django
DJANGO_DEBUG=True

Expand All @@ -28,9 +28,9 @@ DJANGO_DEBUG=True
# as well as the user name exists.
#
# There will also be a test_{DJANGO_DB_NAME} database used for running tests.
DJANGO_DB_NAME='feedback_plugin'
DJANGO_DB_USER_NAME='feedback'
DJANGO_DB_USER_PASSWORD='A;p4rqgDt-Mf7L{z'
DJANGO_DB_NAME=feedback_plugin
DJANGO_DB_USER_NAME=feedback
DJANGO_DB_USER_PASSWORD=A;p4rqgDt-Mf7L{z

# Control logging level for Django.
DJANGO_LOG_LEVEL='ERROR'
DJANGO_LOG_LEVEL=ERROR

0 comments on commit 2061845

Please sign in to comment.