mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-21 02:49:40 -06:00
🔨 add drizzle in docker-compose DEV for viewing the postgres db in local development
This commit is contained in:
15
docker-compose.drizzle.yml
Normal file
15
docker-compose.drizzle.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
drizzle-gateway:
|
||||||
|
image: ghcr.io/drizzle-team/gateway:latest
|
||||||
|
ports:
|
||||||
|
- "4984:4983"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
environment:
|
||||||
|
- STORE_PATH=/app
|
||||||
|
- DATABASE_URL=postgresql://postgres:password@db:5432/postgres
|
||||||
|
volumes:
|
||||||
|
- drizzle-gateway-data:/app
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
drizzle-gateway-data:
|
||||||
@@ -11,7 +11,7 @@ services:
|
|||||||
- ./config/postgres:/var/lib/postgresql/data
|
- ./config/postgres:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432" # Map host port 5432 to container port 5432
|
- "5432:5432" # Map host port 5432 to container port 5432
|
||||||
restart: no
|
restart: no
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest # Use the latest Redis image
|
image: redis:latest # Use the latest Redis image
|
||||||
|
|||||||
Reference in New Issue
Block a user