]> Git — Sourcephile - gargantext.git/blob - devops/docker/docker-compose.yaml
[john snow] add cache volume in docker-compose, fix "message" Maybe
[gargantext.git] / devops / docker / docker-compose.yaml
1 version: '3'
2
3 services:
4 postgres:
5 #image: 'postgres:latest'
6 image: 'postgres:11'
7 network_mode: host
8 #ports:
9 #- 5432:5432
10 environment:
11 POSTGRES_USER: gargantua
12 POSTGRES_PASSWORD: C8kdcUrAQy66U
13 POSTGRES_DB: gargandbV5
14 volumes:
15 - garg-pgdata:/var/lib/postgresql/data
16 - ../:/gargantext
17 - ../dbs:/dbs
18 - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
19
20 pgadmin:
21 image: 'dpage/pgadmin4'
22 ports:
23 - 8081:80
24 environment:
25 PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
26 PGADMIN_DEFAULT_PASSWORD: admin
27
28 depends_on:
29 - postgres
30 links:
31 - postgres
32
33 corenlp:
34 image: 'cgenie/corenlp-garg'
35 ports:
36 - 9000:9000
37
38 johnsnownlp:
39 image: 'johnsnowlabs/nlp-server:latest'
40 volumes:
41 - js-cache:/home/johnsnowlabs/cache_pretrained
42 ports:
43 - 5000:5000
44
45 volumes:
46 garg-pgdata:
47 js-cache: