Files
byos_next/docker-compose.yml
Rémi Bouteiller bbc7f1b154 Merge main and fix CI for recipes framework.
Resolve the browser-rendering merge cleanly, add the missing TypeScript check to CI, and keep the metadata-backed recipe renderer changes passing lint and typecheck.

Made-with: Cursor
2026-04-24 10:50:23 -07:00

49 lines
1.1 KiB
YAML

services:
postgres:
image: postgres:16-alpine
container_name: byos_postgres
restart: unless-stopped
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=byos_db
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- byos_network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
byos-next:
# image: ghcr.io/usetrmnl/byos_next:latest
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
env_file:
- .env
environment:
- DATABASE_URL=postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/byos_db?sslmode=disable
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:3000}
depends_on:
postgres:
condition: service_healthy
restart: unless-stopped
networks:
- byos_network
volumes:
postgres_data:
driver: local
networks:
byos_network:
driver: bridge