Hi, I apt upgraded docker on my ubuntu server totally messed something up as I cannot access any of my reverse proxys anymore. There was a conflict in docker config files and I chose not to replace my old one. This lead to traefik not being able to connect to the docker deamon and complained about old version etc. I reinstalled docker, upgraded my docker traefik(which was pretty old)
$docker version
Client: Docker Engine - Community
Version: 26.0.0
API version: 1.45
Go version: go1.21.8
Git commit: 2ae903e
Built: Wed Mar 20 15:17:48 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.0.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.8
Git commit: 8b79278
Built: Wed Mar 20 15:17:48 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.28
GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
as you can see my docker-compose is in a mess. I dont know which version I had before(could have been 1.17), but it didnt have the command field nor the whoami service. The out commented parts was used previously.
The logs for both traefik and the whoami service are clear, but I cannot access my domain from a browser(not sure if I should be able to as MYDOMAIN.com?). I mostly used reverseproxies for other containers and I guess I need to update them now somehow. Some pointers in how I should change them would be most appreciated, the network parts of docker is still a bit of a mystery for me
##part of random docker service
.
.
.
labels:
- "traefik.docker.network=proxy-net"
- "traefik.enable=true"
- "traefik.frontend.auth.basic"
- "traefik.basic.frontend.rule=Host:next.MYDOMAIN.com"
- "traefik.basic.port=80"
networks:
proxy-net:
external: true
Thank you, I managed to get traefik and whoami reverse proxies to work. They are both marked as "not secure" though and I need to "proceed anyway" to reach them. However I cant reach homeassistant and plex at all..
This is now my docker-compose for traefik. I need to have static traefik ip to satisfy homeassistants "trusted_proxies". Not sure if I managed to achieve that yet,