Skip to content
Snippets Groups Projects
Commit d91bd6e0 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

reconfiguring docker-compose

parent 2476ff79
No related branches found
No related tags found
No related merge requests found
...@@ -51,14 +51,14 @@ DATABASES = { ...@@ -51,14 +51,14 @@ DATABASES = {
'PASSWORD': 'dbadmin123', 'PASSWORD': 'dbadmin123',
# database runs locally in postgres # database runs locally in postgres
'NAME': 'atdb', # 'NAME': 'atdb',
'HOST': 'sdc.astron.nl', # 'HOST': 'sdc.astron.nl',
'PORT': '5432', # 'PORT': '5432',
# database runs on a virtual machine # database runs in docker container
# 'HOST': 'alta-sys-db.astron.nl', 'NAME': 'atdb',
# 'PORT': '5432', 'HOST': 'atdb-ldv-db',
# 'NAME': 'altadb' 'PORT': '5432',
}, },
} }
......
...@@ -14,8 +14,8 @@ services: ...@@ -14,8 +14,8 @@ services:
# build: # build:
# context: ./docker/postgres # context: ./docker/postgres
# dockerfile: Dockerfile # dockerfile: Dockerfile
ports: # ports:
- "5433:5432" # - "5433:5432"
expose: expose:
- 5432 - 5432
networks: networks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment