phase 2 initial test

This commit is contained in:
2026-05-06 23:39:04 +02:00
parent 8592fc5d65
commit 57991e5406
17 changed files with 720 additions and 133 deletions
+3 -15
View File
@@ -1,5 +1,8 @@
version: "3.9"
# Dev: only PostgreSQL runs here. Run the Go server locally with `make dev`.
# Production: docker compose -f docker-compose.prod.yml up
services:
postgres:
image: postgres:16-alpine
@@ -18,20 +21,5 @@ services:
timeout: 5s
retries: 10
app:
build: .
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
env_file: .env
environment:
DATABASE_URL: postgres://forgebucket:password@postgres:5432/forgebucket?sslmode=disable
ports:
- "8080:8080"
volumes:
- repo_data:/var/lib/forgebucket/repos
volumes:
postgres_data:
repo_data: