Skip to content
Snippets Groups Projects
Commit b31de49f authored by Luckeneder Marcel's avatar Luckeneder Marcel
Browse files

updated docker-compose.yaml

parent 6595adcc
No related branches found
No related tags found
No related merge requests found
version: '2'
version: '3.6'
services:
angular:
build: ./krini-ng
image: krini-ng:prod
volumes:
- ./krini-ng
ports:
- "85:85"
environment:
DEBUG: "true"
django-rest:
build: ./krini-dr
image: krini-dr:prod
command: python manage.py runserver
volumes:
- ./krini-dr
ports:
- "8000:8000"
environment:
DEBUG: "true"
angular:
build: ./krini-ng
image: krining
ports:
- '85:85'
django:
build: ./krini-dr
image: krinidr
ports:
- '8000:8000'
command: /bin/sh -c "python manage.py migrate;python manage.py shell < create_super_user.py;python manage.py runserver 0.0.0.0:8000"
cwl:
build: ./krini-cwl
image: krinicwl
ports:
- '5000:5000'
#environment:
# - POSTGRES_USER=kriniuser
# - POSTGRES_PASSWORD=krinipw
# volumes:
# - type: bind,
# source: $$(pwd)/postgresql.conf
# target: /etc/postgresql/postgresql.conf
# - type: bind
# source: $$(pwd)/pg_hba.conf
# target: target=/etc/postgresql/pg_hba.conf
# - type: volume
# source: PGDATA
# target: /var/lib/postgresql/data
# command: "postgres -c 'config_file=/etc/postgresql/postgresql.conf' && -c 'hba_file=/etc/postgresql/pg_hba.conf'\n"
#volumes:
# PGDATA: null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment