Posible traefik network fix needed. #1

Closed
opened 2024-02-23 08:49:09 +00:00 by Llewellyn · 4 comments
Owner

Thank you, after 1 day I managed to Install VirtualBox + Ubuntu and to set the environment following the tutorial from your video, it took me a while but I did it.

It was not a problem to install VirtualBox + Ubuntu and to do what you do in that tutorial, the sad part was after, when I was trying to access the "octoleo.joomla.vdm", or the "port.joomla.vdm", it was not working.
I'm not going to start telling everything, but I think the problem is from "octojoom > Traefik Container", after trying to set it (the first run), I was getting errors like this:
WARN[0007] a network with name traefik_webgateway exists but was not created by compose. Set 'external: true' to use an existing network network traefik_webgateway was found but has incorrect label com.docker.compose.network set to ""
This was my first time trying to use docker, and I installed ubuntu just out of curiosity, a long time ago
In "Docker/traefik", I have edited "docker-compose.yml", and I've changed the code starting with line 37.
DEFAULT

    networks:
      - traefik

networks:
  traefik:
    name: traefik_webgateway

EDITED

    networks:
      - traefik
      - traefik_webgateway

networks:
  traefik:
    name: traefik
  traefik_webgateway:
    external: true
    name: traefik_webgateway

Thank you, I will close this Issue.

Originally posted by @oxido in joomla/Component-Builder#1061 (comment)

Thank you, after 1 day I managed to Install VirtualBox + Ubuntu and to set the environment following the tutorial from your video, it took me a while but I did it. It was not a problem to install VirtualBox + Ubuntu and to do what you do in that tutorial, the sad part was after, when I was trying to access the "octoleo.joomla.vdm", or the "port.joomla.vdm", it was not working. I'm not going to start telling everything, but I think the problem is from "octojoom > Traefik Container", after trying to set it (the first run), I was getting errors like this: `WARN[0007] a network with name traefik_webgateway exists but was not created by compose. Set 'external: true' to use an existing network network traefik_webgateway was found but has incorrect label com.docker.compose.network set to ""` This was my first time trying to use docker, and I installed ubuntu just out of curiosity, a long time ago In "Docker/traefik", I have edited "docker-compose.yml", and I've changed the code starting with line 37. DEFAULT ``` networks: - traefik networks: traefik: name: traefik_webgateway ``` EDITED ``` networks: - traefik - traefik_webgateway networks: traefik: name: traefik traefik_webgateway: external: true name: traefik_webgateway ``` Thank you, I will close this Issue. _Originally posted by @oxido in https://git.vdm.dev/joomla/Component-Builder/issues/1061#issuecomment-27213_
Author
Owner

When you start the Traefik instance it correctly creates the network, and we do the same in the Joomla instances @oxido are you using the latest version?

When you start the Traefik instance it correctly [creates the network](https://git.vdm.dev/octoleo/octojoom/src/branch/master/src/octojoom#L317), and we do the [same in the Joomla instances](https://git.vdm.dev/octoleo/octojoom/src/branch/master/src/octojoom#L685) @oxido are you using the latest version?

In my docker-compose.yml file, the version is 3.3
"com.docker.compose.version": "2.24.6"

In my docker-compose.yml file, the version is 3.3 "com.docker.compose.version": "2.24.6"
Author
Owner

That is not the program version, but the format version. They are not the same thing... which is actually very smart.

But my question is related to Octojoom, under the Octojoom settings menu:
image

There is a Octojoom menu:
image

That will tell you the version:
image

I just want to confirm that we are on the same version of Octojoom.

Next do you have the Traefik container activated?

That is not the program version, but the **format** version. They are not the same thing... which is actually very smart. But my question is related to Octojoom, under the Octojoom settings menu: ![image](https://git.vdm.dev/attachments/0d369816-e4dc-4a73-9725-3a67abb79cfd) There is a Octojoom menu: ![image](https://git.vdm.dev/attachments/386ff5db-5287-441c-9151-5588f4c1f2b2) That will tell you the version: ![image](https://git.vdm.dev/attachments/286ea4c3-1462-45c2-a6ac-18c93af1257d) I just want to confirm that we are on the same version of Octojoom. Next do you have the Traefik container activated?

image
v3.4.4 is the version I have now.
But now all seems to be working after that modification in docker-compose.yml

![image](/attachments/938ca28f-193a-49d9-8f9d-90dd3b0ef748) v3.4.4 is the version I have now. But now all seems to be working after that modification in docker-compose.yml
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: octoleo/octojoom#1
No description provided.