Add Docker compose templates and configurations
This commit is contained in:
46
docker-templates/homepage/docker-compose.yml
Normal file
46
docker-templates/homepage/docker-compose.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
homepage:
|
||||
image: ghcr.io/gethomepage/homepage:latest
|
||||
container_name: homepage
|
||||
restart: unless-stopped # change to 'no' to enable Sablier lazy loading
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
ports:
|
||||
- ${EXTERNAL_PORT}:${INTERNAL_PORT}
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
- /var/run/docker.sock:/var/run/docker.sock # For Docker integration do not mount RO
|
||||
environment:
|
||||
- PUID=${PUID} # Must be set to the docker user ID
|
||||
- PGID=${PGID} # Must be set to the docker group ID
|
||||
- TZ=${TZ}
|
||||
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS}, ${SERVER_IP}:${EXTERNAL_PORT}
|
||||
labels:
|
||||
- ${ICON_LABEL}
|
||||
- ${HOST_LABEL}
|
||||
- ${LOADBALANCER_LABEL}
|
||||
- ${WATCHTOWER_ENABLE_LABEL}
|
||||
- ${TRAEFIK_ENABLE_LABEL}
|
||||
- ${TRAEFIK_NETWORK_LABEL}
|
||||
- ${ENTRYPOINT_LABEL}
|
||||
- ${CERT_LABEL}
|
||||
- ${AUTHELIA_LABEL}
|
||||
|
||||
|
||||
networks:
|
||||
homelab-network:
|
||||
external: true
|
||||
traefik-network:
|
||||
external: true
|
||||
|
||||
x-dockge:
|
||||
urls:
|
||||
- https://${PROXY_URL}
|
||||
- ${LOCAL_URL}
|
||||
|
||||
x-arcane:
|
||||
icon: ${ICON_URL}
|
||||
urls:
|
||||
- https://${PROXY_URL}
|
||||
- ${LOCAL_URL}
|
||||
Reference in New Issue
Block a user