Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: preview deployments ignore specified ports in domains section for docker compose build pack #2184

Open
ahurov opened this issue May 10, 2024 · 0 comments
Assignees

Comments

@ahurov
Copy link

ahurov commented May 10, 2024

Description

Specified ports for domains section were ignored for preview deployment builds.

I've checked /data/coolify/applications/[id] and for main build it has the right labels:
cat docker-compose.yml:

- 'caddy_0.encode=zstd gzip'
- 'caddy_0.handle_path.0_reverse_proxy={{upstreams 3000}}'
- 'caddy_0.handle_path=/*'
- caddy_0.header=-Server
- 'caddy_0.try_files={path} /index.html /index.php'
- 'caddy_0=https://[domain].ua'
- caddy_ingress_network=[id]
- coolify.managed=true
- coolify.version=4.0.0-beta.277
- coolify.applicationId=3
- coolify.type=application
- coolify.name=front-[id]-155945191632
- coolify.pullRequestId=0

but not for preview deployments:
cat docker-compose-pr-1.yml:

- 'caddy_0.encode=zstd gzip'
- 'caddy_0.handle_path.0_reverse_proxy={{upstreams}}'
- 'caddy_0.handle_path=/*'
- caddy_0.header=-Server
- 'caddy_0.try_files={path} /index.html /index.php'
- 'caddy_0=https://1.[domain].ua'
- caddy_ingress_network=[id]
- coolify.managed=true
- coolify.version=4.0.0-beta.277
- coolify.applicationId=3
- coolify.type=application
- coolify.name=front-[id]-pr-1
- coolify.pullRequestId=1

Minimal Reproduction (if possible, example repository)

CleanShot 2024-05-10 at 19 10 20@2x

Exception or Error

HTTP ERROR 503

Version

4.0.0-beta.277

@andrasbacsai andrasbacsai self-assigned this May 15, 2024
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

No branches or pull requests

2 participants