Skip to content

Commit

Permalink
Add some missing envvars to docker-compose config (#9534)
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito authored Apr 27, 2021
1 parent dbe0db5 commit fb890a7
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 1 deletion.
6 changes: 6 additions & 0 deletions containers/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ services:
- DB_PASS=${DB_PASS}
- DB_HOST=${DB_HOST}
- DB_SOCKET=${DB_SOCKET}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_AUTH=${SMTP_AUTH}
- SMTP_STLS=${SMTP_STLS}
mailman:
build: ..
command: script/mailman_server
Expand Down
16 changes: 16 additions & 0 deletions containers/docker-compose-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ services:
- RAILS_ENV=${RAILS_ENV}
- REDIS_URL=redis://redis:6379/0
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- DB_USER=${DB_USER}
- DB_NAME=${DB_NAME}
- DB_PASS=${DB_PASS}
- DB_HOST=${DB_HOST}
- DB_SOCKET=${DB_SOCKET}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_AUTH=${SMTP_AUTH}
- SMTP_STLS=${SMTP_STLS}
mailman:
build: ..
command: script/mailman_server
Expand All @@ -88,5 +99,10 @@ services:
- SERVER_ADDRESS=${SERVER_ADDRESS}
- USERNAME=${USERNAME}
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- DB_USER=${DB_USER}
- DB_NAME=${DB_NAME}
- DB_PASS=${DB_PASS}
- DB_HOST=${DB_HOST}
- DB_SOCKET=${DB_SOCKET}
volumes:
- ..:/app
14 changes: 13 additions & 1 deletion containers/docker-compose-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,17 @@ services:
volumes:
- .:/app
environment:
- RAILS_ENV=${RAILS_ENV}
- REDIS_URL=redis://redis:6379/0

- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- DB_USER=${DB_USER}
- DB_NAME=${DB_NAME}
- DB_PASS=${DB_PASS}
- DB_HOST=${DB_HOST}
- DB_SOCKET=${DB_SOCKET}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_AUTH=${SMTP_AUTH}
- SMTP_STLS=${SMTP_STLS}
16 changes: 16 additions & 0 deletions containers/docker-compose-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ services:
- RAILS_ENV=${RAILS_ENV}
- REDIS_URL=redis://redis:6379/0
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- DB_USER=${DB_USER}
- DB_NAME=${DB_NAME}
- DB_PASS=${DB_PASS}
- DB_HOST=${DB_HOST}
- DB_SOCKET=${DB_SOCKET}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_AUTH=${SMTP_AUTH}
- SMTP_STLS=${SMTP_STLS}
mailman:
build: ..
command: script/mailman_server
Expand All @@ -88,5 +99,10 @@ services:
- SERVER_ADDRESS=${SERVER_ADDRESS}
- USERNAME=${USERNAME}
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- DB_USER=${DB_USER}
- DB_NAME=${DB_NAME}
- DB_PASS=${DB_PASS}
- DB_HOST=${DB_HOST}
- DB_SOCKET=${DB_SOCKET}
volumes:
- ..:/app

0 comments on commit fb890a7

Please sign in to comment.