A user, Cerix, seeks help installing Discourse behind Traefik, encountering issues with Docker labels and network configuration in the app.yml file. The error āinvalid reference format: repository name must be lowercaseā arises when using the labels section. Cameron_D explains that app.yml isnāt a standard Docker Compose file and suggests using the docker_args section instead. Cerix later reports success by adding labels to app.yml and manually connecting the container to the network with docker network connect web app. huberfe initially struggles but then confirms Cameron_Dāsdocker_args approach works effectively.
Hello guys, Iām trying to install Discourse behind Traefik which is used as reverse proxy,
The problem is that when creating the container I need to specify some parameters such as:
labels:
- traefik.backend=discourse <== this must be the service name I do not know which one is the default, i think is "app"?
- traefik.frontend.rule=Host:meta.mydomain.org
- traefik.docker.network=web
- traefik.port=80
networks:
- web
I tried to insert these parameters in the app.yml file but when I run "./launcher rebuild app " I get error āinvalid reference format: repository name must be lowercaseā
Iām sorry, but Iām not a real docker and discourse expert, so if you can kindly help me Iād appreciate it.
I think. You can also add them in a new section in the app.yml file, but Iām not sure of the syntax (look at samples/web_only.yml, thereās a commented out docker_args section).
Edit: just re-read the docs and I see what you say about a labels section. I wonder why that doesnāt work