[VERSION] +1 to 0.0.6.1
[gargantext.git] / devops / docker / docker-compose.yaml
index 02119d7eb6417c882cf0c704b16d732bb5fb6e08..45a9304299472e23921dfafa94e144e5830b360a 100644 (file)
@@ -2,8 +2,10 @@ version: '3'
 
 services:
   postgres:
-    image: 'postgres:latest'
+    #image: 'postgres:latest'
+    image: 'postgres:11'
     network_mode: host
+    #command: ["postgres", "-c", "log_statement=all"]
     #ports:
       #- 5432:5432
     environment:
@@ -34,5 +36,13 @@ services:
     ports:
       - 9000:9000
 
+  johnsnownlp:
+    image: 'johnsnowlabs/nlp-server:latest'
+    volumes:
+      - js-cache:/home/johnsnowlabs/cache_pretrained
+    ports:
+      - 5000:5000
+
 volumes:
   garg-pgdata:
+  js-cache: