Squashed commit of the following:
commit 99fd94580f95dcbfb77b73e2de846f76a5709ef9
Author: Sonny <sonnyba871@gmail.com>
Date: Sat Feb 15 21:45:16 2020 +0100
Use postgres password
As of https://gitlab.com/gitlab-com/support-forum/issues/5199
This commit is contained in:
parent
ee22e0a0ae
commit
5976870d38
5 changed files with 20 additions and 26 deletions
|
|
@ -6,8 +6,9 @@ services:
|
|||
image: postgres
|
||||
container_name: postgres
|
||||
environment:
|
||||
- POSTGRES_USER=newsreader
|
||||
- POSTGRES_DB=newsreader
|
||||
- POSTGRES_DB=$POSTGRES_NAME
|
||||
- POSTGRES_USER=$POSTGRES_USER
|
||||
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.7
|
||||
container_name: rabbitmq
|
||||
|
|
@ -16,6 +17,10 @@ services:
|
|||
container_name: celery
|
||||
command: celery -A newsreader worker --beat --scheduler django --workdir=/app/src/
|
||||
environment:
|
||||
- POSTGRES_HOST=$POSTGRES_HOST
|
||||
- POSTGRES_NAME=$POSTGRES_NAME
|
||||
- POSTGRES_USER=$POSTGRES_USER
|
||||
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
||||
- DJANGO_SETTINGS_MODULE=newsreader.conf.docker
|
||||
volumes:
|
||||
- .:/app
|
||||
|
|
@ -26,6 +31,10 @@ services:
|
|||
container_name: web
|
||||
command: src/entrypoint.sh
|
||||
environment:
|
||||
- POSTGRES_HOST=$POSTGRES_HOST
|
||||
- POSTGRES_NAME=$POSTGRES_NAME
|
||||
- POSTGRES_USER=$POSTGRES_USER
|
||||
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
||||
- DJANGO_SETTINGS_MODULE=newsreader.conf.docker
|
||||
volumes:
|
||||
- .:/app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue