Update rackinfo.yaml
This commit is contained in:
+28
-28
@@ -26,34 +26,34 @@ services:
|
|||||||
##################
|
##################
|
||||||
# Generate files from docker container meta-data
|
# Generate files from docker container meta-data
|
||||||
# https://github.com/nginx-proxy/docker-gen
|
# https://github.com/nginx-proxy/docker-gen
|
||||||
docker-gen:
|
# docker-gen:
|
||||||
image: nginxproxy/docker-gen:0.17.1
|
# image: nginxproxy/docker-gen
|
||||||
container_name: docker-gen
|
# container_name: docker-gen
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
user: "1001:1001"
|
# user: "1001:1001"
|
||||||
volumes:
|
# volumes:
|
||||||
- "/srv/docker/server/rackpeek/docker-gen:/etc/docker-gen/templates"
|
# - "/srv/docker/server/rackpeek/docker-gen:/etc/docker-gen/templates"
|
||||||
environment:
|
# environment:
|
||||||
- DOCKER_HOST=tcp://socket-proxy:2375
|
# - DOCKER_HOST=tcp://socket-proxy:2375
|
||||||
# Filter containers to use. Multiple filters are comma separated
|
# # Filter containers to use. Multiple filters are comma separated
|
||||||
# https://docs.docker.com/engine/reference/commandline/ps/#filter
|
# # https://docs.docker.com/engine/reference/commandline/ps/#filter
|
||||||
- DOCKER_CONTAINER_FILTERS=status=running
|
# - 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)
|
# #- 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)
|
# #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
|
# #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
|
# - HOST_IP=192.168.0.131
|
||||||
- RUNS_ON=ubuntu
|
# - RUNS_ON=ubuntu
|
||||||
command: [
|
# command: [
|
||||||
"docker-gen",
|
# "docker-gen",
|
||||||
"/etc/docker-gen/templates/rackpeek.tmpl",
|
# "/etc/docker-gen/templates/rackpeek.tmpl",
|
||||||
# uncomment below line to write to file
|
# # uncomment below line to write to file
|
||||||
"/etc/docker-gen/templates/services.yaml"
|
# "/etc/docker-gen/templates/services.yaml"
|
||||||
]
|
# ]
|
||||||
labels:
|
# labels:
|
||||||
rackpeek.name: docker-gen
|
# rackpeek.name: docker-gen
|
||||||
rackpeek.tags: server
|
# rackpeek.tags: server
|
||||||
networks:
|
# networks:
|
||||||
- socket-net
|
# - socket-net
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# HOMELAB_HUB
|
# HOMELAB_HUB
|
||||||
|
|||||||
Reference in New Issue
Block a user