Compose-Examples/examples/it-tools/docker-compose.yml

25 lines
702 B
YAML
Raw Normal View History

2023-03-29 12:36:35 +00:00
services:
2023-03-29 12:36:35 +00:00
it-tools:
image: corentinth/it-tools
container_name: it-tools
hostname: it-tools
restart: unless-stopped
ports:
- 8080:80/tcp
expose:
- 80
2023-03-29 12:36:35 +00:00
#networks:
# - proxy # or use dev for testing purposes
#labels:
# - traefik.enable=true
# - traefik.http.routers.it-tools.rule=Host(`tools.example.com`)
# - traefik.http.services.it-tools.loadbalancer.server.port=80
# - traefik.docker.network=proxy # or use dev for testing purposes
## # Part for optional traefik middlewares
# - traefik.http.routers.it-tools.middlewares=local-ipwhitelist@file
#networks:
# proxy: # or use dev for testing purposes
# external: true