More docker-compose cleaning

This commit is contained in:
Otto Ahoniemi
2021-06-10 10:24:10 +03:00
parent 485722c3cd
commit 28b77fe0ce
3 changed files with 155 additions and 190 deletions
+10 -24
View File
@@ -1,42 +1,28 @@
version: '3.8'
services:
analytics:
environment:
DB_URL: postgres://postgres@analytics_db:5432/analytics_db_real
backend:
environment:
DB_URL: postgres://postgres@db:5432/tkt_oodi_real
DB_URL_KONE: postgres://postgres@db_kone:5432/db_kone_real
SIS_DB_URL: postgres://postgres@db_sis:5432/db_sis_real
userservice:
environment:
DB_URL: postgres://postgres@user_db:5432/user_db_real
analytics:
environment:
DB_URL: postgres://postgres@analytics_db:5432/analytics_db_real
# updater_writer:
# environment:
# DB_URL: postgres://postgres@db:5432/tkt_oodi_real
# updater_api:
# environment:
# - OODI_ADDR=https://oodikone.cs.helsinki.fi/oodi
# - TOKEN
# scheduler_mongo:
# volumes:
# - mongodata-real:/data/db
redis:
volumes:
- redis-data-real:/data
sis-updater-worker:
environment:
DB_URL: postgres://postgres@db_sis:5432/db_sis_real
userservice:
environment:
DB_URL: postgres://postgres@user_db:5432/user_db_real
redis:
volumes:
- redis-data-real:/data
volumes:
redis-data-real:
mongodata-real: