From 20124964a9ae4ea542860f50f8f63ed435a3ba48 Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Wed, 16 Dec 2020 11:18:56 -0800 Subject: [PATCH] update --- self-hosting/archivy/docker-compose.yml | 0 self-hosting/traefik-auth.txt | 5 +++++ self-hosting/traefik2/docker-compose.yml | 19 +++++++++++++++++++ self-hosting/traefik2/traefik.yml | 6 ++++++ 4 files changed, 30 insertions(+) create mode 100644 self-hosting/archivy/docker-compose.yml create mode 100644 self-hosting/traefik-auth.txt create mode 100644 self-hosting/traefik2/docker-compose.yml create mode 100644 self-hosting/traefik2/traefik.yml diff --git a/self-hosting/archivy/docker-compose.yml b/self-hosting/archivy/docker-compose.yml new file mode 100644 index 00000000..e69de29b diff --git a/self-hosting/traefik-auth.txt b/self-hosting/traefik-auth.txt new file mode 100644 index 00000000..f5f81069 --- /dev/null +++ b/self-hosting/traefik-auth.txt @@ -0,0 +1,5 @@ +Username: jafner +Password: ujzOHs1Rv!oZG6Wo +Hashed: jafner:$apr1$ugeTFvTj$5X0sC5xDsWDYBK7vNuvim/ +Hashed and Escaped: +jafner:$$apr1$$ugeTFvTj$$5X0sC5xDsWDYBK7vNuvim/ \ No newline at end of file diff --git a/self-hosting/traefik2/docker-compose.yml b/self-hosting/traefik2/docker-compose.yml new file mode 100644 index 00000000..a8a3b72b --- /dev/null +++ b/self-hosting/traefik2/docker-compose.yml @@ -0,0 +1,19 @@ +version: '2' +services: + traefik2: + image: traefik:latest + container_name: traefik2 + restart: unless-stopped + networks: + - web + ports: + - "80:80" + - "443:443" + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./traefik.yml:/etc/traefik/traefik.yml + - ./acme.json:/acme.json + +networks: + web: + external: true diff --git a/self-hosting/traefik2/traefik.yml b/self-hosting/traefik2/traefik.yml new file mode 100644 index 00000000..d7f0dc24 --- /dev/null +++ b/self-hosting/traefik2/traefik.yml @@ -0,0 +1,6 @@ +providers: + docker: + defaultRule: "Host(`{{ trimPrefix `/` .Name }}.jafner.net`)" + +api: + insecure: true \ No newline at end of file