fixe the label
[gargantext.git] / devops / docker / docker-compose.yaml
index af9567908db96bb3c49760b8ce28bebb80ffe087..62e5ae33f255e629eb9c67c7669b632f58ece5af 100644 (file)
@@ -3,6 +3,7 @@ version: '3'
 services:
   postgres:
     image: 'postgres:latest'
+    network_mode: host
     ports:
       - 5432:5432
     environment:
@@ -15,6 +16,17 @@ services:
       - ../dbs:/dbs
       - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
 
+  pgadmin:
+    image: 'dpage/pgadmin4'
+    ports:
+      - 8081:80
+    environment:
+      PGADMIN_DEFAULT_EMAIL: admin
+      PGADMIN_DEFAULT_PASSWORD: admin
+
+    depends_on:
+      - postgres
+
   corenlp:
     image: 'cgenie/corenlp-garg'
     ports: