[Bug]: Coolify ignores the selected network and uses the `coolify` network
Description
It's already happened 4 times that, when creating my resource, I select my own network but when checking "Connect To Predefined Network", the network the container is attached to is coolify.
The first time I thought I simply selected the wrong network without paying attention but since then it's happened multiple times more.
Minimal Reproduction (if possible, example repository)
- Go to
Projects - Create a new project
- Go into
Production - Go to
Add new resource - Select
Docker Compose - Select your network that is NOT
coolify. (web, in my case) - Paste the following test
docker-compose.yml:
services:
glances:
image: 'nicolargo/glances:latest'
restart: unless-stopped
environment:
- GLANCES_OPT=-w
- SERVICE_FQDN_GLANCES_61208
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
pid: host
privileged: true
- Check
Connect To Predefined Network<-- Very important, we want to connect to thewebnetwork - Click
Deployto create your container - Use
sshto connect to the server on which you deployed the service - Use
docker ps -agrep glances` to find the container we just created - Use
docker inspect glances-<uid>to check the details of the container - At the bottom, in the
"Networks"section, notice that the container is connected to thecoolifynetwork and not towebas configured.
Exception or Error
No response
Version
v4.0.0-beta.319
Cloud?
- [X] Yes
- [ ] No
💎 $10 bounty • Telokis
Steps to solve:
- Start working: Comment
/attempt #3041with your implementation plan - Submit work: Create a pull request including
/claim #3041in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to coollabsio/coolify!
Add a bounty • Share on socials
| Attempt | Started (GMT+0) | Solution |
|---|---|---|
| 🟢 @LEstradioto | Aug 14, 2024, 12:08:54 PM | #3068 |
/attempt #3041
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @LEstradioto | 2 bounties from 2 projects | Cancel attempt |
@Telokis After #3058 is merged, please reward the bounty! @LEstradioto Thanks for the PR!
@LEstradioto: You've been awarded a $10 bounty by Telokis0! 👉 Complete your Algora onboarding to collect the bounty.