mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 12:31:13 +00:00
27 lines
801 B
YAML
27 lines
801 B
YAML
|
version: '3.2'
|
||
|
|
||
|
services:
|
||
|
dockcheck-web:
|
||
|
container_name: dockcheck-web
|
||
|
hostname: dockcheck-web
|
||
|
image: palleri/dockcheck-web:latest
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- '8765:80'
|
||
|
volumes:
|
||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/dockcheck-web/data:/var/www/html
|
||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||
|
#networks:
|
||
|
# - proxy
|
||
|
#labels:
|
||
|
# - traefik.enable=true
|
||
|
# - traefik.http.routers.dockcheck-web.rule=Host(`dockcheck.example.com`)
|
||
|
# - traefik.http.services.dockcheck-web.loadbalancer.server.port=80
|
||
|
# - traefik.docker.network=proxy
|
||
|
# # Part for optional traefik middlewares
|
||
|
# - traefik.http.routers.dockcheck-web.middlewares=local-ipwhitelist@file,basic-auth@file
|
||
|
|
||
|
#networks:
|
||
|
# proxy:
|
||
|
# external: true
|