Add CI config and adapt other configs

This commit is contained in:
Luke Murphy
2020-04-30 14:24:29 +02:00
parent 42010eee3c
commit e08b6ae9f9
5 changed files with 28 additions and 4 deletions

22
docker-compose.ci.yml Normal file
View File

@ -0,0 +1,22 @@
---
version: "3.7"
services:
traefik:
container_name: traefik
ports:
- "8001:8001"
- "8080:8080"
command:
- "--api=true"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:8001"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
labels:
- "traefik.enable=true"
- "traefik.http.routers.traefik.rule=Host(`traefik.localhost`)"
- "traefik.http.routers.traefik.entrypoints=web"
- "traefik.http.routers.traefik.service=api@internal"