refactor: add https and acme to traefik

This commit is contained in:
2023-03-29 22:19:37 -07:00
parent ed426593d4
commit c3f6bd2ea9
9 changed files with 65 additions and 24 deletions

View File

@@ -1,3 +1,5 @@
{% from "contrib/compose_helpers.j2" import traefik_labels with context %}
{##}
version: "3.7"
networks:
@@ -81,8 +83,7 @@ services:
image: nginx:1.23-alpine
container_name: nextcloud_web
labels:
- traefik.enable=true
- traefik.http.routers.nextcloud.rule=Host(`nc.{{ domain }}`)
- {{ traefik_labels("nc") | indent(6) }}
restart: unless-stopped
links:
- app