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]: Cannot define domain for service when deploying with docker-compose #3466

Closed
oussamadouhou opened this issue Sep 17, 2024 · 9 comments

Comments

@oussamadouhou
Copy link

Error Message and Logs

When deploying an app from a public repository with a docker-compose in the root directory all configurations are loaded but the option for the domain is missing and not available.
image

Steps to Reproduce

  1. Go to projects
  2. Choose desired project
  3. Click on new resource
  4. Choose Git based -> Public Repository
  5. Select desire server (mine is V4.0.0-beta.338
  6. Add desired repository (mine https://github.com/hashicorp-forge/hermes.git)
  7. Click check repository
  8. Change Build Pack to docker-compose
  9. Set base directory to /
  10. change Docker compose location to /docker-compose.yml and click Continue
  11. In the General tab Domains option is empty

image

Example Repository URL

https://github.com/hashicorp-forge/hermes

Coolify Version

V4.0.0-beta.338

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04

Additional Information

No response

@oussamadouhou oussamadouhou added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Sep 17, 2024
@djsisson
Copy link
Contributor

djsisson commented Sep 17, 2024

@oussamadouhou its missing due to this service not having any accessible https endpoint.

its postgres you cant directly assign it a domain

@eduhdev12
Copy link

@oussamadouhou its missing due to this service not having any accessible https endpoint.

its postgres you cant directly assign it a domain

No, he is right. Something happened try this from official docs https://raw.githubusercontent.com/coollabsio/coolify/main/templates/compose/plausible.yaml to see the issue

@djsisson
Copy link
Contributor

@eduhdev12

this is a multi service compose, you enter the domain from settings or yellow icon for each service that needs one

see image ( the compose is missing one line so there is no domain auto generated)
this line is missing at top of environment

- SERVICE_FQDN_PLAUSIBLE

image

@stevenhuyn
Copy link

tyty, docs should be updated for this

@mrcloudbook
Copy link

Iam using latest version
Here iam getting same

image

@djsisson
Copy link
Contributor

djsisson commented Oct 8, 2024

@mrcloudbook theres no links if you dont define a domain, without seeing your compose i can't say why this is happening

@mrcloudbook
Copy link

I got the solution Thanks

@upokusaev
Copy link

I got the solution Thanks

@mrcloudbook Hi, can you share your solution?

@Aj7Ay
Copy link

Aj7Ay commented Oct 13, 2024

environment:
- BASE_URL=${NEXT_PUBLIC_WEBAPP_URL}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- NEXTAUTH_URL=${NEXTAUTH_URL}

  just added these bro in my env for container

@github-actions github-actions bot removed 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Nov 4, 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

8 participants