Add Docker compose templates and configurations
This commit is contained in:
44
docker-templates/glances/docker-compose.yml
Normal file
44
docker-templates/glances/docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
services:
|
||||
glances:
|
||||
image: nicolargo/glances:latest-full
|
||||
container_name: glances
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
ports:
|
||||
- ${EXTERNAL_PORT}:${INTERNAL_PORT}
|
||||
pid: host
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ./config:/glances/conf
|
||||
environment:
|
||||
- GLANCES_OPT=-w
|
||||
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