浏览代码

initial traefik test config

Jason Playne 3 年之前
父节点
当前提交
b3d33a080e
共有 1 个文件被更改,包括 8 次插入0 次删除
  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