diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml new file mode 100644 index 0000000..bed2f4d --- /dev/null +++ b/docker-compose.dev.yaml @@ -0,0 +1,34 @@ +version: "3" + +services: + #web: + # build: . + # restart: unless-stopped + # ports: + # - 3000:3000 + + db: + image: postgres:alpine + restart: unless-stopped + ports: + - 5432:5432 + environment: + POSTGRES_USER_FILE: "/run/secrets/postgres-user" + POSTGRES_PASSWORD_FILE: "/run/secrets/postgres-password" + volumes: + - pg-data:/var/lib/postgresql/data + - ./db/secrets/:/run/secrets + + pgadmin: + image: dpage/pgadmin4 + environment: + PGADMIN_DEFAULT_EMAIL: michael@icefoganalytics.com + PGADMIN_DEFAULT_PASSWORD: sugaray99 + ports: + - "8111:80" + volumes: + - my-data:/var/lib/pgadmin + +volumes: + pg-data: + my-data: \ No newline at end of file