mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 20:41:14 +00:00
24 lines
694 B
YAML
24 lines
694 B
YAML
|
version: '3.3'
|
||
|
|
||
|
services:
|
||
|
it-tools:
|
||
|
image: corentinth/it-tools
|
||
|
container_name: it-tools
|
||
|
hostname: it-tools
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- 8080:80/tcp
|
||
|
#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
|