]> Git — Sourcephile - gargantext.git/blob - devops/docker/docker-compose.yaml
[auth] use gargPass for generting forgot password
[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 #command: ["postgres", "-c", "log_statement=all"]
9 #ports:
10 #- 5432:5432
11 environment:
12 POSTGRES_USER: gargantua
13 POSTGRES_PASSWORD: C8kdcUrAQy66U
14 POSTGRES_DB: gargandbV5
15 volumes:
16 - garg-pgdata:/var/lib/postgresql/data
17 - ../:/gargantext
18 - ../dbs:/dbs
19 - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
20
21 pgadmin:
22 image: 'dpage/pgadmin4'
23 ports:
24 - 8081:80
25 environment:
26 PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
27 PGADMIN_DEFAULT_PASSWORD: admin
28
29 depends_on:
30 - postgres
31 links:
32 - postgres
33
34 corenlp:
35 image: 'cgenie/corenlp-garg'
36 ports:
37 - 9000:9000
38
39 johnsnownlp:
40 image: 'johnsnowlabs/nlp-server:latest'
41 volumes:
42 - js-cache:/home/johnsnowlabs/cache_pretrained
43 ports:
44 - 5000:5000
45
46 volumes:
47 garg-pgdata:
48 js-cache: