]> Git — Sourcephile - gargantext.git/blob - devops/docker/docker-compose.yaml
merge done
[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
25 PGADMIN_DEFAULT_PASSWORD: admin
26
27 depends_on:
28 - postgres
29
30 corenlp:
31 image: 'cgenie/corenlp-garg'
32 ports:
33 - 9000:9000
34
35 volumes:
36 garg-pgdata: