Pin service images, expose DB ports and don't set PG password

This commit is contained in:
Bruno Alla 2020-11-09 19:06:49 +00:00
parent 0a56c9c9b9
commit 56268ec82c

View File

@ -54,13 +54,13 @@ jobs:
services: services:
redis: redis:
image: redis image: redis:5.0
ports: ports:
- 6379:6379 - 6379:6379
postgres: postgres:
image: postgres image: postgres:12
env: ports:
POSTGRES_PASSWORD: postgres - 5432:5432
env: env:
CELERY_BROKER_URL: "redis://localhost:6379/0" CELERY_BROKER_URL: "redis://localhost:6379/0"