services:
postgres:
image: 'postgres:latest'
- ports:
- - 5432:5432
+ network_mode: host
+ #ports:
+ #- 5432:5432
environment:
POSTGRES_USER: gargantua
POSTGRES_PASSWORD: C8kdcUrAQy66U
- ../dbs:/dbs
- ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
+ pgadmin:
+ image: 'dpage/pgadmin4'
+ ports:
+ - 8081:80
+ environment:
+ PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
+ PGADMIN_DEFAULT_PASSWORD: admin
+
+ depends_on:
+ - postgres
+ links:
+ - postgres
+
corenlp:
image: 'cgenie/corenlp-garg'
ports: