init
This commit is contained in:
24
docker-compose.dev.yml
Normal file
24
docker-compose.dev.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
# Docker Compose for local development - only runs PostgreSQL
|
||||
# Run apps locally with: npm/bun/go for faster iteration
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: paragliding-postgres
|
||||
environment:
|
||||
POSTGRES_DB: paragliding
|
||||
POSTGRES_USER: dev
|
||||
POSTGRES_PASSWORD: devpass
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U dev -d paragliding"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user