Przeglądaj źródła

initial traefik test config

Jason Playne 3 lat temu
rodzic
commit
b3d33a080e
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      network/docker-compose.yml

+ 8 - 0
network/docker-compose.yml

@@ -8,6 +8,14 @@ volumes:
   postgres_data:
 
 services:
+  traefik:
+    image: traefik:v2.9
+    command: --api.insecure=true --providers.docker
+    ports:
+      - "10.10.20.251:80:80/tcp"
+      - "10.10.20.251:443:443/tcp"
+      - "10.10.20.254:8080:8080/tcp"
+
   heimdall:
     environment:
       - PGID=1000