Update rackinfo.yaml

This commit is contained in:
2026-07-14 13:49:20 -05:00
parent db1e24bf52
commit 17008d5d51
+28 -28
View File
@@ -26,34 +26,34 @@ services:
##################
# Generate files from docker container meta-data
# https://github.com/nginx-proxy/docker-gen
docker-gen:
image: nginxproxy/docker-gen:0.17.1
container_name: docker-gen
restart: unless-stopped
user: "1001:1001"
volumes:
- "/srv/docker/server/rackpeek/docker-gen:/etc/docker-gen/templates"
environment:
- DOCKER_HOST=tcp://socket-proxy:2375
# Filter containers to use. Multiple filters are comma separated
# https://docs.docker.com/engine/reference/commandline/ps/#filter
- DOCKER_CONTAINER_FILTERS=status=running
#- RUNS_ON=${RUNS_ON} #enables and specifies the name of the System the generated Services run on (runsOn in YAML)
#enables IP and port in the network section of a Service. The IP will always be HOST_IP (useful for ports published on the bridge network)
#IP and port will only be generated if the container binds to 0.0.0.0 (no IP specified) or specifically binds the ip from HOST_IP
- HOST_IP=192.168.0.131
- RUNS_ON=ubuntu
command: [
"docker-gen",
"/etc/docker-gen/templates/rackpeek.tmpl",
# uncomment below line to write to file
"/etc/docker-gen/templates/services.yaml"
]
labels:
rackpeek.name: docker-gen
rackpeek.tags: server
networks:
- socket-net
# docker-gen:
# image: nginxproxy/docker-gen
# container_name: docker-gen
# restart: unless-stopped
# user: "1001:1001"
# volumes:
# - "/srv/docker/server/rackpeek/docker-gen:/etc/docker-gen/templates"
# environment:
# - DOCKER_HOST=tcp://socket-proxy:2375
# # Filter containers to use. Multiple filters are comma separated
# # https://docs.docker.com/engine/reference/commandline/ps/#filter
# - DOCKER_CONTAINER_FILTERS=status=running
# #- RUNS_ON=${RUNS_ON} #enables and specifies the name of the System the generated Services run on (runsOn in YAML)
# #enables IP and port in the network section of a Service. The IP will always be HOST_IP (useful for ports published on the bridge network)
# #IP and port will only be generated if the container binds to 0.0.0.0 (no IP specified) or specifically binds the ip from HOST_IP
# - HOST_IP=192.168.0.131
# - RUNS_ON=ubuntu
# command: [
# "docker-gen",
# "/etc/docker-gen/templates/rackpeek.tmpl",
# # uncomment below line to write to file
# "/etc/docker-gen/templates/services.yaml"
# ]
# labels:
# rackpeek.name: docker-gen
# rackpeek.tags: server
# networks:
# - socket-net
##################
# HOMELAB_HUB