[Bug]: Cannot define domain for service when deploying with docker-compose
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.
Steps to Reproduce
- Go to projects
- Choose desired project
- Click on new resource
- Choose Git based -> Public Repository
- Select desire server (mine is V4.0.0-beta.338
- Add desired repository (mine https://github.com/hashicorp-forge/hermes.git)
- Click check repository
- Change Build Pack to docker-compose
- Set base directory to /
- change Docker compose location to /docker-compose.yml and click Continue
- In the General tab Domains option is empty
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 its missing due to this service not having any accessible https endpoint.
its postgres you cant directly assign it a domain
@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
@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
tyty, docs should be updated for this
Iam using latest version Here iam getting same
@mrcloudbook theres no links if you dont define a domain, without seeing your compose i can't say why this is happening
I got the solution Thanks
I got the solution Thanks
@mrcloudbook Hi, can you share your solution?
environment: - BASE_URL=${NEXT_PUBLIC_WEBAPP_URL} - NEXTAUTH_SECRET=${NEXTAUTH_SECRET} - NEXTAUTH_URL=${NEXTAUTH_URL}
just added these bro in my env for container
I got the solution Thanks
@mrcloudbook Hi, can you please share your solution?