set up vercel db connection

This commit is contained in:
2024-11-09 16:05:00 -06:00
parent 041b18586c
commit d10b0e20d0
5 changed files with 153 additions and 15 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
postgres:
image: "postgres:15.2-alpine"
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
ports:
- "5432:5432"
pg_proxy:
image: ghcr.io/neondatabase/wsproxy:latest
environment:
APPEND_PORT: "postgres:5432"
ALLOW_ADDR_REGEX: ".*"
LOG_TRAFFIC: "true"
ports:
- "5433:80"
depends_on:
- postgres