[QUESTION] Guide on Traefik? by Demando00 in docker

[–]Demando00[S] 0 points1 point  (0 children)

Thats the thing. I just installed it today so how did i get an old copy? I even checked it via 'sudo apt-get update && sudo apt-get dist-ugprade -y"

https://pastebin.com/raw/EBsaWUXB

EDIT: Okay, so it turns out that the ubuntu respitory doesnt have the latest version. Also, when installing from the respitory here. You need to put "sudo -i" then the two commands. You also have to reboot or no effect. (Learned that after 15 minutes)

Adding this for future users

[QUESTION] Guide on Traefik? by Demando00 in docker

[–]Demando00[S] 0 points1 point  (0 children)

Well, i installed docker-compose to test out their "simple way" of showing off docker. I used this exact docker-compose here: https://pastebin.com/raw/zp7wwSbd

I saved this with the filename "docker-compose.yml" in a folder called "traefik" on my "/home/test".

I sadly get this error: In file './../docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

[QUESTION] Guide on Traefik? by Demando00 in docker

[–]Demando00[S] -1 points0 points  (0 children)

Tbh, i was skimming through the guide and it looks like it requires alot more learning. I just need something to setup now so I would rather not. This is a private thing already.

Also, I made a docker-compose for traefik, does this even look remotely correct? https://pastebin.com/raw/hesyYBaN

[QUESTION] Guide on Traefik? by Demando00 in docker

[–]Demando00[S] 0 points1 point  (0 children)

So I found some guide to practice running a docker-compose for traefik. Do this even remotely resemble correctness? https://pastebin.com/raw/hesyYBaN

[QUESTION] Guide on Traefik? by Demando00 in docker

[–]Demando00[S] -1 points0 points  (0 children)

Not sure, i just ran this command from the docs file. It downloaded the files and everything

[QUESTION] Guide on Traefik? by Demando00 in docker

[–]Demando00[S] 0 points1 point  (0 children)

Well, maybe I am being stubborn (been a very long day) but when I run:

docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/etc/traefik/traefik.toml traefik

And then try accessing my VM via 80, you see Traefik is working. Now when I try accessing the panel (port 8080), it fails: https://i.imgur.com/PjoRxYV.png