However, when the server's Port 80 is used by another web application on my server and I want to map Cabot to port 8080 locally and then to 8080 publicly, it doesn't work.
In other words, the mapping would be:
Public Port 8080 --> Caddy Port 8080 --> Cabot 5000
I setup my Cabot docker container on Ubuntu 18.04 and a public IP address and port mapping to port: 8080. It all works fine with the following setup:
docker-compose-caddy.yml:
and docker-compose.yml:
However, when the server's Port 80 is used by another web application on my server and I want to map Cabot to port 8080 locally and then to 8080 publicly, it doesn't work.
In other words, the mapping would be:
Public Port 8080 --> Caddy Port 8080 --> Cabot 5000
I tried to change docker-compose-caddy.yml:
I get this error:
Am I configuring my configuration files correctly?