57 lines
2.4 KiB
YAML
57 lines
2.4 KiB
YAML
services:
|
|
dockerproxy:
|
|
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
|
container_name: homepage-dockerproxy
|
|
environment:
|
|
- CONTAINERS=1 # Allow access to viewing containers
|
|
- SERVICES=0 # Allow access to viewing services (necessary when using Docker Swarm)
|
|
- TASKS=0 # Allow access to viewing tasks (necessary when using Docker Swarm)
|
|
- POST=0 # Disallow any POST operations (effectively read-only)
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
|
|
labels:
|
|
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/homepage.png"
|
|
folder.view2: "Infrastructure"
|
|
|
|
homepage:
|
|
image: ghcr.io/gethomepage/homepage:latest
|
|
container_name: homepage
|
|
environment:
|
|
HOMEPAGE_ALLOWED_HOSTS: "${FULL_DOMAIN},10.0.0.1:8027,cube.internal:8027"
|
|
PUID: 99
|
|
PGID: 100
|
|
ports:
|
|
- 8027:3000
|
|
volumes:
|
|
- /mnt/user/appdata/homepage:/app/config
|
|
networks:
|
|
- default
|
|
- pangolin
|
|
labels:
|
|
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/homepage.png"
|
|
net.unraid.docker.webui: "https://${FULL_DOMAIN}"
|
|
folder.view2: "Services"
|
|
|
|
pangolin.public-resources.gethomepage-homepage.name: "${RESOURCE_NAME}"
|
|
pangolin.public-resources.gethomepage-homepage.full-domain: "${FULL_DOMAIN}"
|
|
pangolin.public-resources.gethomepage-homepage.protocol: "http"
|
|
|
|
pangolin.public-resources.gethomepage-homepage.auth.sso-enabled: true
|
|
pangolin.public-resources.gethomepage-homepage.auth.sso-roles[0]: "Member"
|
|
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].method: "http"
|
|
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.enabled: true
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.hostname: "homepage"
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.port: 3000
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.path: "/"
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.method: "GET"
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.status: 200
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.interval: 30
|
|
pangolin.public-resources.gethomepage-homepage.targets[0].healthcheck.timeout: 5
|
|
|
|
networks:
|
|
pangolin:
|
|
name: pangolin_net
|
|
external: true
|