2021-04-11 03:51:00 +07:00
|
|
|
---
|
2019-11-02 21:32:58 +07:00
|
|
|
version: '3'
|
2019-04-11 02:27:18 +07:00
|
|
|
services:
|
|
|
|
traefik:
|
2021-10-06 04:38:29 +07:00
|
|
|
image: traefik:v1.7.31-alpine
|
2019-04-11 02:27:18 +07:00
|
|
|
volumes:
|
2020-01-19 17:06:37 +07:00
|
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
2019-04-11 02:27:18 +07:00
|
|
|
labels:
|
2020-01-19 17:06:37 +07: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-14 06:57:28 +07:00
|
|
|
- '--insecureSkipVerify=true'
|
2019-04-11 02:27:18 +07:00
|
|
|
networks:
|
|
|
|
authelianet:
|
2020-01-10 11:49:30 +07:00
|
|
|
# Set the IP to be able to query on port 8080
|
2021-04-11 03:51:00 +07:00
|
|
|
ipv4_address: 192.168.240.100
|
|
|
|
...
|