Skip to content

Add Dokploy Traefik labels, domain config, and env example#10

Open
boronine-bot wants to merge 3 commits into
boronine:mainfrom
boronine-bot:main
Open

Add Dokploy Traefik labels, domain config, and env example#10
boronine-bot wants to merge 3 commits into
boronine:mainfrom
boronine-bot:main

Conversation

@boronine-bot

Copy link
Copy Markdown
Contributor

Changes

  • Add Traefik labels for automatic domain routing and SSL via Let's Encrypt
  • Connect opencode service to dokploy-network so Traefik can reach it
  • Replace host port binding with expose (no port conflicts with Dokploy)
  • Add DOMAIN env var support for configurable subdomain
  • Add HTTP-to-HTTPS redirect middleware
  • Add .env.example with documentation
  • Add .gitignore to exclude secrets

How to use

After merge, set DOMAIN=opencode.dokploy.boronine.com in Dokploy's environment variables, deploy, and the service will be available at https://opencode.dokploy.boronine.com with auto-provisioned SSL.

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