coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Coolify ignores the selected network and uses the `coolify` network

Open Telokis opened this issue 1 year ago • 3 comments

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 the web network
  • Click Deploy to create your container
  • Use ssh to connect to the server on which you deployed the service
  • Use docker ps -a grep 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 the coolify network and not to web as configured.

image

Exception or Error

No response

Version

v4.0.0-beta.319

Cloud?

  • [X] Yes
  • [ ] No

Telokis avatar Aug 09 '24 16:08 Telokis

💎 $10 bounty • Telokis

Steps to solve:

  1. Start working: Comment /attempt #3041 with your implementation plan
  2. Submit work: Create a pull request including /claim #3041 in the PR body to claim the bounty
  3. 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 bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @LEstradioto Aug 14, 2024, 12:08:54 PM #3068

algora-pbc[bot] avatar Aug 13 '24 09:08 algora-pbc[bot]

/attempt #3041

Algora profile Completed bounties Tech Active attempts Options
@LEstradioto 2 bounties from 2 projects
Cancel attempt

LEstradioto avatar Aug 14 '24 12:08 LEstradioto

@Telokis After #3058 is merged, please reward the bounty! @LEstradioto Thanks for the PR!

andrasbacsai avatar Aug 14 '24 18:08 andrasbacsai

@LEstradioto: You've been awarded a $10 bounty by Telokis0! 👉 Complete your Algora onboarding to collect the bounty.

algora-pbc[bot] avatar Sep 07 '24 22:09 algora-pbc[bot]