Commit bbe0413a authored by Guillaume Mella's avatar Guillaume Mella

make postgres reachable from dev machine & set oidb-exist-debug container ok to run

parent 7dd3f349
......@@ -23,6 +23,11 @@ version: "3.7"
#
# Don't forget to backup your db and remove evrything if your image use a new existdb version which is non binary compatible.
#
# a debug container is also provided. Dev has to choose between:
# docker-compose up oidb-postgres oidb-existdb
# or
# docker-compose up oidb-postgres oidb-existdb-debug
#
#
services:
......@@ -49,7 +54,17 @@ services:
context: oidb-existdb-debug
args:
IMAGE_MAMAN_E: oidb-existdb
volumes:
- oidb-existdb-data:/exist/webapp/WEB-INF/data/
# - ./log4j2.xml:/exist/etc/log4j2.xml
# uncomment to save logs - oidb-existdb-logs:/exist/webapp/WEB-INF/logs/
ports:
- "8080:8080"
links:
- oidb-postgres:db
networks:
- oidb
oidb-postgres:
build:
context: oidb-postgres
......@@ -59,6 +74,8 @@ services:
- oidb-postgres-data:/var/lib/postgresql/
networks:
- oidb
ports:
- "5432:5432"
volumes:
# Don't forget to use named volumes if you may run docker-compose up from various directory names
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment