chore: add whoami
This commit is contained in:
parent
190f618437
commit
40406e9787
@ -8,9 +8,9 @@ services:
|
||||
ports:
|
||||
- "8888:80"
|
||||
- "8443:443"
|
||||
#networks:
|
||||
# - web
|
||||
# - default
|
||||
networks:
|
||||
- web
|
||||
- default
|
||||
#env_file:
|
||||
# - './conf/.ovh-api.env'
|
||||
volumes:
|
||||
@ -24,14 +24,9 @@ services:
|
||||
#- './conf/acme.json:/acme.json'
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
||||
# whoami:
|
||||
# image: traefik/whoami:v1.6.0
|
||||
# container_name: "whoami"
|
||||
# labels:
|
||||
# # On indique que Traefik doit prendre en compte ce conteneur
|
||||
# - "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"
|
||||
|
||||
whoami:
|
||||
# A container that exposes an API to show its IP address
|
||||
image: traefik/whoami
|
||||
labels:
|
||||
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user