Skip to content

Refactor docker-compose for Dokploy deployment - #55

Open
zyrogX wants to merge 1 commit into
DIGI-UW:mainfrom
zyrogX:patch-1
Open

Refactor docker-compose for Dokploy deployment#55
zyrogX wants to merge 1 commit into
DIGI-UW:mainfrom
zyrogX:patch-1

Conversation

@zyrogX

@zyrogX zyrogX commented Jul 6, 2026

Copy link
Copy Markdown

Updated docker-compose.yml for Dokploy compatibility by removing host port bindings, container names, and adjusting volume paths. Changed ports to expose and improved logging configuration.

Updated docker-compose.yml for Dokploy compatibility by removing host port bindings, container names, and adjusting volume paths. Changed ports to expose and improved logging configuration.
@zyrogX zyrogX closed this Jul 6, 2026
@zyrogX zyrogX reopened this Jul 6, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3cce875711

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docker-compose.yml
- /bin/sh
- -c
- "envsubst '$$OE_NGINX_CERT $$OE_NGINX_KEY' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf && exec nginx -g 'daemon off;'"
- "cp /etc/nginx/nginx.conf.template /etc/nginx/nginx.conf && exec nginx -g 'daemon off;'"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Render an HTTP nginx config before starting proxy

This command now copies the existing nginx template verbatim even though the compose file exposes only port 80 and removed the certificate environment/volume wiring. The mounted configs/nginx/nginx.conf still redirects port 80 to HTTPS and references ssl_certificate /etc/nginx/certs/${OE_NGINX_CERT}, so a Dokploy route to the proxy either loops back to HTTPS instead of reaching the app or the proxy fails to start because the cert paths/placeholders are not available. Update the template/command to produce a real HTTP-only config, or keep the TLS rendering and cert mounts.

Useful? React with 👍 / 👎.

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