Skip to content

feat(ticket-5.4): self-hosting with Docker Compose#32

Merged
vincentgrobler merged 1 commit intomainfrom
feature/ticket-5.4-self-hosting
Feb 25, 2026
Merged

feat(ticket-5.4): self-hosting with Docker Compose#32
vincentgrobler merged 1 commit intomainfrom
feature/ticket-5.4-self-hosting

Conversation

@vincentgrobler
Copy link
Copy Markdown
Collaborator

Description

  • Add docker-compose.yml: 4 services (postgres, migrate, frontend, task-runner)
  • Add Dockerfile: multi-stage frontend build (Vite → nginx:1.27-alpine)
  • Update task-runner/Dockerfile: npm ci, health check
  • Add docker/migrate.sh: auto-migration with _migrations tracking table
  • Add docker/nginx.conf: SPA routing, gzip, asset caching, security headers
  • Add .dockerignore: exclude node_modules, .git, dist
  • Expand .env.example: all Docker Compose variables documented
  • Add docs/self-hosting.md: full guide with architecture diagram, config reference, management commands, troubleshooting

Related Issue

None

Type of Change

  • [ ✓ ] ✨ New feature (non-breaking change that adds functionality)

How Has This Been Tested?

Internal

  • [ x ] Unit tests
  • [ ✓ ] Manual testing
  • [ x ] Browser testing (specify browsers)

Screenshots (if applicable)

None

Checklist

  • [ ✓ ] My code follows the project's coding standards
  • [ ✓ ] I have run npm run lint and there are no errors
  • [ ✓ ] I have run npm run test and all tests pass
  • [ ✓ ] I have added tests for my changes (if applicable)
  • [ ✓ ] I have updated the documentation (if applicable)
  • [ ✓ ] My source files have AGPL licence headers
  • [ ✓ ] My changes generate no new TypeScript errors

- Add docker-compose.yml: 4 services (postgres, migrate, frontend, task-runner)
- Add Dockerfile: multi-stage frontend build (Vite → nginx:1.27-alpine)
- Update task-runner/Dockerfile: npm ci, health check
- Add docker/migrate.sh: auto-migration with _migrations tracking table
- Add docker/nginx.conf: SPA routing, gzip, asset caching, security headers
- Add .dockerignore: exclude node_modules, .git, dist
- Expand .env.example: all Docker Compose variables documented
- Add docs/self-hosting.md: full guide with architecture diagram,
  config reference, management commands, troubleshooting
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crewform Ready Ready Preview, Comment Feb 25, 2026 3:55pm

@vincentgrobler vincentgrobler merged commit f3843cd into main Feb 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant