Home Page Docker Compose
unknown
yaml
2 years ago
1.6 kB
15
Indexable
version: "3.3"
networks:
traefik:
external: true
services:
homepage:
networks:
- traefik
image: ghcr.io/benphelps/homepage:latest
container_name: homepage
restart: unless-stopped
ports:
- 3000:3000
volumes:
- /volume1/docker/homepage:/config
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
environment:
- PUID=1026
- PGID=100
- TZ=Australia/Brisbane
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.homepage.tls=true"
- "traefik.http.routers.homepage.tls.certresolver=dnsresolver"
- "traefik.http.routers.homepage.rule=Host(`homepage.cloudbr34k.xyz`)"
- "traefik.http.routers.homepage.entrypoints=https"
#- "traefik.http.routers.homepage.middlewares=auth@file"
- "com.centurylinklabs.watchtower.enable=true"
dockerproxy:
image: ghcr.io/tecnativa/docker-socket-proxy:latest
container_name: dockerproxy
environment:
- CONTAINERS=1 # Allow access to viewing containers
- SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
- TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
- POST=0 # Disallow any POST operations (effectively read-only)
ports:
- 127.0.0.1:2375:2375
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
restart: unless-stoppedEditor is loading...