Browse Source

fix: file manager load

Nicolas Giard 2 years ago
parent
commit
18e80a9525
1 changed files with 28 additions and 0 deletions
  1. 28 0
      docker-compose.yml

+ 28 - 0
docker-compose.yml

@@ -0,0 +1,28 @@
+version: '3.8'
+
+services:
+  db:
+    image: postgres:latest
+    restart: unless-stopped
+    volumes:
+      - postgres-data:/var/lib/postgresql/data
+    environment:
+      POSTGRES_PASSWORD: postgres
+      POSTGRES_USER: postgres
+      POSTGRES_DB: postgres
+    ports:
+      - "5432:5432"
+
+  pgadmin:
+    image: dpage/pgadmin4:latest
+    environment:
+      - PGADMIN_DEFAULT_EMAIL=dev@js.wiki
+      - PGADMIN_DEFAULT_PASSWORD=123123
+      - PGADMIN_DISABLE_POSTFIX=True
+      - PGADMIN_LISTEN_PORT=8000
+      - PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=False
+    ports:
+      - "8000:8000"
+
+volumes:
+  postgres-data: