chore: add whoami
This commit is contained in:
parent
190f618437
commit
40406e9787
@ -8,9 +8,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8888:80"
|
- "8888:80"
|
||||||
- "8443:443"
|
- "8443:443"
|
||||||
#networks:
|
networks:
|
||||||
# - web
|
- web
|
||||||
# - default
|
- default
|
||||||
#env_file:
|
#env_file:
|
||||||
# - './conf/.ovh-api.env'
|
# - './conf/.ovh-api.env'
|
||||||
volumes:
|
volumes:
|
||||||
@ -25,13 +25,8 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
||||||
# whoami:
|
whoami:
|
||||||
# image: traefik/whoami:v1.6.0
|
# A container that exposes an API to show its IP address
|
||||||
# container_name: "whoami"
|
image: traefik/whoami
|
||||||
# labels:
|
labels:
|
||||||
# # On indique que Traefik doit prendre en compte ce conteneur
|
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
|
||||||
# - "traefik.enable=true"
|
|
||||||
# # On déclare le routeur 'whoami' pour notre application avec une règle qui match sur le hostname
|
|
||||||
# - "traefik.http.routers.whoami.rule=Host(`whoami.my-domain.fr`)"
|
|
||||||
# # On précise le entrypoint sur lequel ce routeur va être effectif
|
|
||||||
# - "traefik.http.routers.whoami.entrypoints=websecure"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user