[VERSION] +1 to 0.0.3
[gargantext.git] / devops / docker / docker-compose.yaml
index 2ca97ebe8ccd4f1ca7ddc1c30aa9367cc7653c1a..02119d7eb6417c882cf0c704b16d732bb5fb6e08 100644 (file)
@@ -4,8 +4,8 @@ services:
   postgres:
     image: 'postgres:latest'
     network_mode: host
-    ports:
-      - 5432:5432
+    #ports:
+      #- 5432:5432
     environment:
       POSTGRES_USER: gargantua
       POSTGRES_PASSWORD: C8kdcUrAQy66U
@@ -16,6 +16,19 @@ 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@localhost.lan
+      PGADMIN_DEFAULT_PASSWORD: admin
+
+    depends_on:
+      - postgres
+    links:
+      - postgres
+
   corenlp:
     image: 'cgenie/corenlp-garg'
     ports: