]> Git — Sourcephile - gargantext.git/blob - devops/docker/docker-compose.yaml
[envrc] export LANG to fix some ghc compile errors
[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 shm_size: 1g # https://stackoverflow.com/a/56754077
25 network_mode: host
26 #command: ["postgres", "-c", "log_statement=all"]
27 #ports:
28 # - 5432:5432
29 environment:
30 POSTGRES_USER: gargantua
31 POSTGRES_PASSWORD: C8kdcUrAQy66U
32 POSTGRES_DB: gargandbV5
33 volumes:
34 - garg-pgdata14:/var/lib/postgresql/data
35 - ../:/gargantext
36 - ../dbs:/dbs
37 - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
38
39 pgadmin:
40 image: 'dpage/pgadmin4'
41 ports:
42 - 8081:80
43 environment:
44 PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
45 PGADMIN_DEFAULT_PASSWORD: admin
46
47 depends_on:
48 - postgres
49 links:
50 - postgres
51
52 corenlp:
53 image: 'cgenie/corenlp-garg'
54 ports:
55 - 9000:9000
56
57 johnsnownlp:
58 image: 'johnsnowlabs/nlp-server:latest'
59 volumes:
60 - js-cache:/home/johnsnowlabs/cache_pretrained
61 ports:
62 - 5000:5000
63
64 volumes:
65 #garg-pgdata:
66 garg-pgdata14:
67 js-cache: