Skip to content
Permalink
Browse files

remove PRODUCTION_ prefix for environment variables

  • Loading branch information...
nam20485 committed May 26, 2018
1 parent dda40a7 commit 3995d151fd2a3bc06aa3d7193afd9dd37bcb2d49
Showing with 12 additions and 12 deletions.
  1. +6 −6 disaster.env
  2. +6 −6 production-docker-compose.yml
@@ -27,19 +27,19 @@ DEVELOPMENT_TEAM_PASSWORD=d0wn!0ff!a!duck
DEVELOPMENT_DJANGO_SECRET_KEY=r0ck.ar0und.the.c10ck

# the database superuser name - this is the default
PRODUCTION_POSTGRES_USER=
POSTGRES_USER=

# the database name the API will connect to - "dbname" in most PostgreSQL command-line tools
PRODUCTION_POSTGRES_NAME=disaster
POSTGRES_NAME=disaster

# *service* name (*not* image name) of the database in the Docker network
PRODUCTION_POSTGRES_HOST=
POSTGRES_HOST=

# port the database is listening on in the Docker network
PRODUCTION_POSTGRES_PORT=5432
POSTGRES_PORT=5432

# password for the PostgreSQL database superuser in the database container
PRODUCTION_POSTGRES_PASSWORD=
POSTGRES_PASSWORD=

# Django secret key in the API container
PRODUCTION_DJANGO_SECRET_KEY=r0ck.ar0und.the.c10ck
DJANGO_SECRET_KEY=r0ck.ar0und.the.c10ck
@@ -13,9 +13,9 @@ services:
environment:
- PROJECT_NAME
- DEBUG=False
- POSTGRES_USER=${PRODUCTION_POSTGRES_USER}
- POSTGRES_NAME=${PRODUCTION_POSTGRES_NAME}
- POSTGRES_HOST=${PRODUCTION_POSTGRES_HOST}
- POSTGRES_PORT=${PRODUCTION_POSTGRES_PORT}
- POSTGRES_PASSWORD=${PRODUCTION_POSTGRES_PASSWORD}
- DJANGO_SECRET_KEY=${PRODUCTION_DJANGO_SECRET_KEY}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_NAME=${POSTGRES_NAME}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- DJANGO_SECRET_KEY=${DJANGO_SECRET_KEY}

0 comments on commit 3995d15

Please sign in to comment.
You can’t perform that action at this time.