2021-04-11 03:51:00 +07:00
|
|
|
---
|
2019-11-02 21:32:58 +07:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
authelia-kind-proxy:
|
|
|
|
build:
|
|
|
|
context: ./example/compose/kind
|
|
|
|
volumes:
|
2020-01-19 17:06:37 +07:00
|
|
|
- 'kind-volume:/kind/config'
|
|
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
|
|
|
- './example/kube:/authelia'
|
|
|
|
- './example/compose/kind/config.yml:/etc/kind/config.yml'
|
|
|
|
command: 'kubectl port-forward --address 0.0.0.0 -n authelia service/nginx-ingress-controller-service 8080:443'
|
2021-02-02 05:53:44 +07:00
|
|
|
environment:
|
|
|
|
- KIND_EXPERIMENTAL_DOCKER_NETWORK=authelia_authelianet
|
2019-11-02 21:32:58 +07:00
|
|
|
networks:
|
|
|
|
authelianet:
|
|
|
|
aliases:
|
|
|
|
- public.example.com
|
|
|
|
- secure.example.com
|
|
|
|
- login.example.com
|
|
|
|
- admin.example.com
|
|
|
|
- dev.example.com
|
|
|
|
- mail.example.com
|
|
|
|
# Set the IP to be able to query on port 443
|
|
|
|
ipv4_address: 192.168.240.100
|
|
|
|
|
|
|
|
kube-dashboard:
|
|
|
|
build:
|
|
|
|
context: ./example/compose/kind
|
|
|
|
volumes:
|
2020-01-19 17:06:37 +07:00
|
|
|
- 'kind-volume:/kind/config'
|
|
|
|
- './example/compose/kind/entrypoint-dashboard.sh:/entrypoint-dashboard.sh'
|
|
|
|
command: '/entrypoint-dashboard.sh'
|
2021-02-02 05:53:44 +07:00
|
|
|
environment:
|
|
|
|
- KIND_EXPERIMENTAL_DOCKER_NETWORK=authelia_authelianet
|
2019-11-02 21:32:58 +07:00
|
|
|
networks:
|
|
|
|
authelianet:
|
|
|
|
aliases:
|
|
|
|
- kubernetes.example.com
|
|
|
|
ipv4_address: 192.168.240.110
|
|
|
|
|
|
|
|
volumes:
|
2021-04-11 03:51:00 +07:00
|
|
|
kind-volume: # yamllint disable-line rule:empty-values
|
|
|
|
...
|