From 9012ea59775a7e6e465c9b68414f1a8f3d60e80b Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Fri, 1 Sep 2023 08:26:18 -0400 Subject: [PATCH] inital config for proxitok.tams.tech --- docker-compose.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ae98621..5503751 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,8 +4,8 @@ services: web: container_name: proxitok-web image: ghcr.io/pablouser1/proxitok:master - ports: - - 8080:80 + # ports: + # - 8080:80 environment: - LATTE_CACHE=/cache - API_CACHE=redis @@ -13,6 +13,7 @@ services: - REDIS_PORT=6379 - API_SIGNER=remote - API_SIGNER_URL=http://proxitok-signer:8080/signature + - APP_URL=https://proxitok.tams.tech volumes: - proxitok-cache:/cache depends_on: @@ -20,6 +21,7 @@ services: - signer networks: - proxitok + - web security_opt: - no-new-privileges:true cap_drop: @@ -28,6 +30,20 @@ services: - CHOWN - SETGID - SETUID + labels: + # Traefik + traefik.docker.network: web + traefik.domain: tams.tech + traefik.enable: "true" + # Traefik v1 + traefik.frontend.rule: Host:proxitok.tams.tech + # DNS discovery (not used) + tech.tams.dns_hosts: proxitok.tams.tech + # Traefik V2 + traefik.http.routers.proxitok.rule: Host(`proxitok.tams.tech`) + traefik.http.routers.proxitok.tls: true + traefik.http.routers.proxitok.tls.certresolver: letsencrypt + redis: container_name: proxitok-redis @@ -62,3 +78,6 @@ volumes: networks: proxitok: + internal: true + web: + external: true