4 ms·
If y'all want to try a high-magic solution based on a single-host docker-compose setup with traefik 2+ as ingress, here is the paragraph for configuring Let's e
by ivan_ah 6y ago
If y'all want to try a high-magic solution based on a single-host docker-compose setup with traefik 2+ as ingress, here is the paragraph for configuring Let's encrypt certs: https://github.com/rocdata/rocserver/blob/main/docker-compose.yml#L5-L27 https://github.com/rocdata/rocserver/blob/main/docker-compos... It works great.
Host just needs to have ports 80 443 open and docker installed: https://github.com/rocdata/rocserver/blob/main/fabfile.py#L239-L264 https://github.com/rocdata/rocserver/blob/main/fabfile.py#L2...
PS: In case I can save anyone days of debugging, if you want to run a wordpress container using this setup, you'll need to do some manual config to convince wp it's running in HTTPS mode, see https://wordpress.org/support/article/administration-over-ssl/#using-a-reverse-proxy https://wordpress.org/support/article/administration-over-ss...
- ivan_ah 6y agoUpdated link to traefik container config: https://github.com/rocdata/rocserver/blob/main/docker-compose.prod.yml#L5-L27 https://github.com/rocdata/rocserver/blob/main/docker-compos... (link changed because only need SSL certs in prod -- so moved to a prod-specific docker-compose file)