2021-04-10 20:51:00 +00:00
|
|
|
---
|
2019-11-02 14:32:58 +00:00
|
|
|
version: '3'
|
2019-04-10 19:27:18 +00:00
|
|
|
services:
|
|
|
|
traefik:
|
2021-10-06 22:05:05 +00:00
|
|
|
image: traefik:v1.7.32-alpine
|
2019-04-10 19:27:18 +00:00
|
|
|
volumes:
|
2020-01-19 10:06:37 +00:00
|
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
2019-04-10 19:27:18 +00:00
|
|
|
labels:
|
2020-01-19 10:06:37 +00:00
|
|
|
- 'traefik.frontend.rule=Host:traefik.example.com'
|
|
|
|
- 'traefik.port=8081'
|
|
|
|
command:
|
|
|
|
- '--api'
|
|
|
|
- '--api.entrypoint=api'
|
|
|
|
- '--docker'
|
|
|
|
- '--defaultentrypoints=https'
|
|
|
|
- '--logLevel=DEBUG'
|
|
|
|
- '--traefiklog=true'
|
|
|
|
- '--traefiklog.filepath=/var/log/traefik.log'
|
|
|
|
- '--entryPoints=Name:https Address::8080 TLS'
|
|
|
|
- '--entryPoints=Name:api Address::8081'
|
2020-04-13 23:57:28 +00:00
|
|
|
- '--insecureSkipVerify=true'
|
2019-04-10 19:27:18 +00:00
|
|
|
networks:
|
|
|
|
authelianet:
|
2020-01-10 04:49:30 +00:00
|
|
|
# Set the IP to be able to query on port 8080
|
2021-04-10 20:51:00 +00:00
|
|
|
ipv4_address: 192.168.240.100
|
|
|
|
...
|