]> Git — Sourcephile - gargantext.git/blob - devops/docker/docker-compose.yaml
Merge branch 'dev' into 145-dev-graph-explorer-search-tfidf
[gargantext.git] / devops / docker / docker-compose.yaml
1 version: '3'
2
3 services:
4 #postgres11:
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 postgres:
22 #image: 'postgres:latest'
23 image: 'postgres:14'
24 network_mode: host
25 #command: ["postgres", "-c", "log_statement=all"]
26 #ports:
27 # - 5432:5432
28 environment:
29 POSTGRES_USER: gargantua
30 POSTGRES_PASSWORD: C8kdcUrAQy66U
31 POSTGRES_DB: gargandbV5
32 volumes:
33 - garg-pgdata14:/var/lib/postgresql/data
34 - ../:/gargantext
35 - ../dbs:/dbs
36 - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
37
38 pgadmin:
39 image: 'dpage/pgadmin4'
40 ports:
41 - 8081:80
42 environment:
43 PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
44 PGADMIN_DEFAULT_PASSWORD: admin
45
46 depends_on:
47 - postgres
48 links:
49 - postgres
50
51 corenlp:
52 image: 'cgenie/corenlp-garg'
53 ports:
54 - 9000:9000
55
56 johnsnownlp:
57 image: 'johnsnowlabs/nlp-server:latest'
58 volumes:
59 - js-cache:/home/johnsnowlabs/cache_pretrained
60 ports:
61 - 5000:5000
62
63 volumes:
64 #garg-pgdata:
65 garg-pgdata14:
66 js-cache: