Add unRAID labels to docker-compose.yml (#41)

* Add unRAID labels

* Add icon files to repo

* Use raw.githubusercontent.com for linking to icons
This commit is contained in:
Bergbok
2025-11-15 13:30:22 +02:00
committed by GitHub
parent 9cdbb9f692
commit 8a218d9068
6 changed files with 22 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ services:
volumes:
- ./houdini/houdini.sql:/docker-entrypoint-initdb.d/houdini.sql
- ./.data:/var/lib/postgresql/data
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/db.png
redis:
image: redis:5.0.9-alpine
restart: always
@@ -20,6 +22,8 @@ services:
- wand
ports:
- 6379
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/redis.png
web:
build: ./web
restart: always
@@ -48,7 +52,6 @@ services:
- ./templates/vanilla-media/play/fr/index.html.template:/t/vanilla/play/fr/index.html.template
- ./templates/vanilla-media/play/pt/index.html.template:/t/vanilla/play/pt/index.html.template
- ./templates/vanilla-media/media/play/web_service/environment_data.xml.template:/t/vanilla/media/play/web_service/environment_data.xml.template
command: ["dockerize",
"-template", "/etc/nginx/conf.d/legacy.conf.template:/etc/nginx/conf.d/legacy.conf",
"-template", "/etc/nginx/conf.d/vanilla.conf.template:/etc/nginx/conf.d/vanilla.conf",
@@ -67,6 +70,9 @@ services:
"-template", "/t/vanilla/play/pt/index.html.template:/usr/share/nginx/vanilla/play/pt/index.html",
"-template", "/t/vanilla/media/play/web_service/environment_data.xml.template:/usr/share/nginx/vanilla/media/play/web_service/environment_data.xml",
"nginx", "-g", "daemon off;"]
labels:
net.unraid.docker.webui: http://[IP]:[PORT:${WEB_PORT}]
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/houdini.png
houdini_login:
build: ./houdini
restart: always
@@ -92,6 +98,8 @@ services:
"--database-user", "${POSTGRES_USER}",
"--database-name", "${POSTGRES_USER}",
"--database-password", "${POSTGRES_PASSWORD}"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/houdini.png
houdini_blizzard:
build: ./houdini
restart: always
@@ -114,6 +122,8 @@ services:
"--database-user", "${POSTGRES_USER}",
"--database-name", "${POSTGRES_USER}",
"--database-password", "${POSTGRES_PASSWORD}"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/houdini.png
houdini_glaciar:
build: ./houdini
restart: always
@@ -136,6 +146,8 @@ services:
"--database-user", "${POSTGRES_USER}",
"--database-name", "${POSTGRES_USER}",
"--database-password", "${POSTGRES_PASSWORD}"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/houdini.png
houdini_avalanche:
build: ./houdini
restart: always
@@ -158,6 +170,8 @@ services:
"--database-user", "${POSTGRES_USER}",
"--database-name", "${POSTGRES_USER}",
"--database-password", "${POSTGRES_PASSWORD}"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/houdini.png
houdini_yeti:
build: ./houdini
restart: always
@@ -180,6 +194,8 @@ services:
"--database-user", "${POSTGRES_USER}",
"--database-name", "${POSTGRES_USER}",
"--database-password", "${POSTGRES_PASSWORD}"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/houdini.png
dash:
build: ./dash
restart: always
@@ -204,6 +220,8 @@ services:
"-template", "/usr/src/dash/config.py.template:/usr/src/dash/config.py",
"python", "bootstrap.py"]
command: ["-c", "config.py"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/dash.png
snowflake:
build: ./snowflake
restart: always
@@ -230,7 +248,10 @@ services:
- redis:redis
- houdini_login:login
entrypoint: ["dockerize", "-wait", "tcp://login:${GAME_LOGIN_PORT}", "python", "./main.py"]
labels:
net.unraid.docker.icon: https://raw.githubusercontent.com/solero/wand/refs/heads/master/icons/snowflake.png
networks:
wand:
driver: bridge