computer_science:docker:traefik_docker_https_ssl_for_containers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer_science:docker:traefik_docker_https_ssl_for_containers [2020/08/19 09:41] carlossousacomputer_science:docker:traefik_docker_https_ssl_for_containers [2023/12/01 12:07] (current) – external edit 127.0.0.1
Line 160: Line 160:
         - dokuwiki_lib-tpl:/dokuwiki/lib/tpl         - dokuwiki_lib-tpl:/dokuwiki/lib/tpl
         - dokuwiki_logs:/var/log         - dokuwiki_logs:/var/log
 +
  
 </code> </code>
  
 **After** **After**
 +
 +  * You can uncomment the "ports:" so, if you start just that container, it will be reachable over your domain.tld. Sometimes it is usefull for troubleshooting
 +  * Add the "labels". You have/should replace [...].dokuwiki.[...] with the name of the service, so it is easier to identify on the Traefik WebUI
 +  * Don't forget to change the "rule=Host" and "[...]-secure.rule=Host" to your "sub.domain.tld"
 +  * Don't forget to change the ".server.port" to the Port where the Service is listening
 +  * For complex services (for example Wordpress + MySQL), add an extra network, for eg. "wordpress_network" so the MySQL instant is only reachable via the Wordpress Service, and not over the Proxy configuration
  
 <code yaml> <code yaml>
Line 212: Line 219:
    proxy:    proxy:
      external: true      external: true
 +
  
 </code> </code>
 +
 +After starting the service, it should now be available.
  
  
  • computer_science/docker/traefik_docker_https_ssl_for_containers.1597830100.txt.gz
  • Last modified: 2023/12/01 12:07
  • (external edit)