Skip to content

matias-portainer/test-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes:

To start the container run:

docker-compose up -d

To stop the service run:

docker-compose down

This as to be runned from with in the same path as the docker-compose.yml file.

What needs to be changed for a different project ?

Inside the docker-compose.yml you will find a line:

container_name: <example-name>

This as to be the same name we will use later to point on candy. On the same file you will see

An other line about the expose port which by default for http is port 80 .

expose: - "80/tcp"

So in Caddyfile you will find :

https://somename.outware.pt {

 reverse_proxy example-name:80

}

The FQDN name on the URL (https://somename.outware.pt) has to be a domain record already pointing to the office ip which is forwarded to this host running the docker , which later targets the candy and then candy redirects to the correct container. The response then will come back from the container to candy which will insert the SSL certificate and will respond back to the client.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages