summaryrefslogtreecommitdiff
path: root/Applications/Web/dweipert.de/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Web/dweipert.de/docker-compose.yml')
-rw-r--r--Applications/Web/dweipert.de/docker-compose.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/Applications/Web/dweipert.de/docker-compose.yml b/Applications/Web/dweipert.de/docker-compose.yml
new file mode 100644
index 0000000..6f1efb9
--- /dev/null
+++ b/Applications/Web/dweipert.de/docker-compose.yml
@@ -0,0 +1,20 @@
+version: "3"
+
+services:
+ http:
+ image: nginx:alpine
+ restart: unless-stopped
+ volumes:
+ - "./html:/usr/share/nginx/html:ro"
+ networks:
+ - "traefik"
+ labels:
+ - "traefik.enable=true"
+ - "traefik.http.routers.web-dweipert-de.rule=Host(`${DOMAIN}`)"
+ - "traefik.http.routers.web-dweipert-de.entrypoints=websecure"
+ - "traefik.http.routers.web-dweipert.de.tls.certresolver=letsencrypt"
+
+networks:
+ traefik:
+ name: "${TRAEFIK_NETWORK}"
+ external: true