]> Git — Sourcephile - gargantext.git/blob - devops/docker/docker-compose.yaml
merge with dev
[gargantext.git] / devops / docker / docker-compose.yaml
1 version: '3'
2
3 services:
4 postgres:
5 image: 'postgres:latest'
6 network_mode: host
7 #ports:
8 #- 5432:5432
9 environment:
10 POSTGRES_USER: gargantua
11 POSTGRES_PASSWORD: C8kdcUrAQy66U
12 POSTGRES_DB: gargandbV5
13 volumes:
14 - garg-pgdata:/var/lib/postgresql/data
15 - ../:/gargantext
16 - ../dbs:/dbs
17 - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
18
19 pgadmin:
20 image: 'dpage/pgadmin4'
21 ports:
22 - 8081:80
23 environment:
24 PGADMIN_DEFAULT_EMAIL: admin@localhost
25 PGADMIN_DEFAULT_PASSWORD: admin
26
27 depends_on:
28 - postgres
29 links:
30 - postgres
31
32 corenlp:
33 image: 'cgenie/corenlp-garg'
34 ports:
35 - 9000:9000
36
37 volumes:
38 garg-pgdata: