Open mr47 opened 1 day ago
@mr47 after ticking connect to predefined network and redeploying, are you saying if you run docker network inspect coolify you dont see the container?
@djsisson yes, docker-compose.yaml
deployable does not contain coolify as network
@mr47 it doesnt add it to compose, it manaully adds it to the network
@djsisson yeah but that a problem when I wanna add for example other custom defined network not coolify for example, its confusing that there is no network section, and even docker-compose that saved inside /data/coolify
have the same.
@mr47 you need to add a top level network section if thats what you want, it does work when adding your own networks, see appwrite template for an example
@djsisson that's the issue coolify not sync docker compose with ui, so this behavior is magical.
Even if I add
networks:
mynet:
name: myned
external: true
services:
myService:
network:
mynet: null
That will result in deployable docker-compose without network mynet
@mr47 can you paste link to your compose please
Error Message and Logs
Creating grafana for example (no modification was done to template) exept Docker-compose (deployable)
Setting option connect to predefined networks have no effect. (its already set)
Steps to Reproduce
edit
/ settingconnect to predefined network
docker-compose.yaml
PS: Maybe its merging object problem ?
Example Repository URL
No response
Coolify Version
v4.0.0-beta.367
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
TrueNas ElectricEel-24.10.0.2
Additional Information
No response