services:
postgres:
- image: 'postgres:latest'
+ #image: 'postgres:latest'
+ image: 'postgres:11'
network_mode: host
+ #command: ["postgres", "-c", "log_statement=all"]
#ports:
#- 5432:5432
environment:
ports:
- 9000:9000
+ johnsnownlp:
+ image: 'johnsnowlabs/nlp-server:latest'
+ volumes:
+ - js-cache:/home/johnsnowlabs/cache_pretrained
+ ports:
+ - 5000:5000
+
volumes:
garg-pgdata:
+ js-cache: