mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-04-04 20:16:05 +02:00
Add more additional stacks
This commit is contained in:
parent
37d1b55a5d
commit
1cb9b55d2c
18
docker/additional-stacks/blackmesa/blackmesa.yml
Executable file
18
docker/additional-stacks/blackmesa/blackmesa.yml
Executable file
@ -0,0 +1,18 @@
|
||||
services:
|
||||
blackmesa:
|
||||
image: mrvercetti/blackmesa-coop-server
|
||||
container_name: blackmesa
|
||||
environment:
|
||||
- GAME_PARAMS=-port 27015 +maxplayers 2 +map bm_c1a1d -debug
|
||||
- GAME_NAME=${BLACKMESA_SERVER_NAME}
|
||||
- GAME_PASSWORD=${BLACKMESA_SERVER_PASSWORD}
|
||||
networks:
|
||||
- blackmesa
|
||||
ports:
|
||||
- ${BLACKMESA_SERVER_PORT}:27015
|
||||
- ${BLACKMESA_SERVER_PORT}:27015/udp
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
blackmesa:
|
||||
name: blackmesa
|
28
docker/additional-stacks/localai/localai.yml
Executable file
28
docker/additional-stacks/localai/localai.yml
Executable file
@ -0,0 +1,28 @@
|
||||
services:
|
||||
api:
|
||||
image: localai/localai:v2.10.1-ffmpeg-core
|
||||
container_name: localai-api
|
||||
ports:
|
||||
- 8877:8080
|
||||
networks:
|
||||
- localai
|
||||
volumes:
|
||||
- ${APPS_DIR}/localai/models:/models:cached
|
||||
command: ["tinyllama-chat"]
|
||||
|
||||
chatgpt:
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
image: ghcr.io/mckaywrigley/chatbot-ui:main
|
||||
ports:
|
||||
- 3003:3000
|
||||
networks:
|
||||
- localai
|
||||
environment:
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
- OPENAI_API_HOST=http://api:8080
|
||||
|
||||
networks:
|
||||
localai:
|
||||
name: localai
|
28
docker/additional-stacks/minecraft/minecraft.yml
Executable file
28
docker/additional-stacks/minecraft/minecraft.yml
Executable file
@ -0,0 +1,28 @@
|
||||
services:
|
||||
minecraft:
|
||||
image: itzg/minecraft-server
|
||||
container_name: minecraft
|
||||
networks:
|
||||
- minecraft
|
||||
ports:
|
||||
- ${MINECRAFT_SERVER_PORT}:25565
|
||||
environment:
|
||||
- VERSION=1.20.4
|
||||
- OVERRIDE_SERVER_PROPERTIES=true
|
||||
- EULA=TRUE
|
||||
- MAX_PLAYERS=4
|
||||
- MOTD=${MINECRAFT_SERVER_MOTD}
|
||||
- DIFFICULTY=easy
|
||||
- ALLOW_NETHER=true
|
||||
- ONLINE_MODE=FALSE
|
||||
- ENABLE_RCON=true
|
||||
- SERVER_NAME=${MINECRAFT_SERVER_NAME}
|
||||
volumes:
|
||||
- ${DATA_DIR}/minecraft-data:/data
|
||||
tty: true
|
||||
stdin_open: true
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
minecraft:
|
||||
name: minecraft
|
66
docker/additional-stacks/monitoring/monitoring.yml
Executable file
66
docker/additional-stacks/monitoring/monitoring.yml
Executable file
@ -0,0 +1,66 @@
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
container_name: grafana
|
||||
user: "0"
|
||||
volumes:
|
||||
- ${APPS_DIR}/monitoring/grafana:/var/lib/grafana
|
||||
ports:
|
||||
- "3005:3000"
|
||||
networks:
|
||||
- monitoring
|
||||
restart: unless-stopped
|
||||
|
||||
loki:
|
||||
image: grafana/loki
|
||||
container_name: loki
|
||||
volumes:
|
||||
- ${APPS_DIR}/monitoring/loki:/etc/loki
|
||||
ports:
|
||||
- "3100:3100"
|
||||
command: -config.file=/etc/loki/loki-config.yml -config.expand-env=true
|
||||
networks:
|
||||
- monitoring
|
||||
restart: unless-stopped
|
||||
|
||||
promtail:
|
||||
image: grafana/promtail
|
||||
container_name: promtail
|
||||
volumes:
|
||||
- /var/log:/var/log #map the log folder.
|
||||
- ${APPS_DIR}/monitoring/promtail:/etc/promtail
|
||||
command: -config.file=/etc/promtail/promtail-config.yml
|
||||
networks:
|
||||
- monitoring
|
||||
restart: unless-stopped
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus
|
||||
container_name: prometheus
|
||||
volumes:
|
||||
- ${APPS_DIR}/monitoring/prometheus:/etc/prometheus
|
||||
ports:
|
||||
- "9090:9090"
|
||||
networks:
|
||||
- monitoring
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
restart: unless-stopped
|
||||
|
||||
node-exporter:
|
||||
image: prom/node-exporter
|
||||
container_name: node-exporter
|
||||
network_mode: host # Not compatible with ports declaration. This service will expose port 9100.
|
||||
volumes:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /:/rootfs:ro
|
||||
command:
|
||||
- '--path.procfs=/host/proc'
|
||||
- '--path.sysfs=/host/sys'
|
||||
- '--path.rootfs=/rootfs'
|
||||
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
monitoring:
|
16
docker/additional-stacks/quakejs-server/docker-compose.yml
Executable file
16
docker/additional-stacks/quakejs-server/docker-compose.yml
Executable file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
quakejs:
|
||||
image: treyyoder/quakejs
|
||||
container_name: quakejs
|
||||
networks:
|
||||
- quakejs
|
||||
environment:
|
||||
- HTTP_PORT=9011
|
||||
- SERVER=192.168.0.100
|
||||
ports:
|
||||
- "9011:80"
|
||||
- "27960:27960"
|
||||
|
||||
networks:
|
||||
quakejs:
|
||||
name: quakejs
|
25
docker/additional-stacks/stable-diffusion/stable-diffusion.yml
Executable file
25
docker/additional-stacks/stable-diffusion/stable-diffusion.yml
Executable file
@ -0,0 +1,25 @@
|
||||
services:
|
||||
stable-diffusion:
|
||||
image: ghcr.io/ai-dock/stable-diffusion-webui:latest-cpu
|
||||
container_name: stable-diffusion-webui
|
||||
devices:
|
||||
- "/dev/dri:/dev/dri"
|
||||
volumes:
|
||||
- ${APPS_DIR}/stable-diffusion/workspace:${WORKSPACE:-/workspace/}:rshared
|
||||
- ${APPS_DIR}/stable-diffusion/config/provisioning/default.sh:/opt/ai-dock/bin/provisioning.sh
|
||||
ports:
|
||||
- ${WEBUI_PORT_HOST:-7860}:${WEBUI_PORT_HOST:-7860}
|
||||
networks:
|
||||
- stable-diffusion
|
||||
environment:
|
||||
- DIRECT_ADDRESS=${DIRECT_ADDRESS:-127.0.0.1}
|
||||
- WORKSPACE=/workspace
|
||||
- WORKSPACE_SYNC=false
|
||||
- WEB_ENABLE_AUTH=false
|
||||
- WEBUI_PORT_HOST=${WEBUI_PORT_HOST:-7860}
|
||||
- WEBUI_PORT_LOCAL=${WEBUI_PORT_LOCAL:-17860}
|
||||
- WEBUI_METRICS_PORT=${WEBUI_METRICS_PORT:-27860}
|
||||
|
||||
networks:
|
||||
stable-diffusion:
|
||||
name: stable-diffusion
|
18
docker/additional-stacks/svencoop/svencoop.yml
Executable file
18
docker/additional-stacks/svencoop/svencoop.yml
Executable file
@ -0,0 +1,18 @@
|
||||
services:
|
||||
svencoop:
|
||||
image: mrvercetti/svencoop-server
|
||||
container_name: svencoop
|
||||
environment:
|
||||
- GAME_NAME=${SVENCOOP_SERVER_NAME}
|
||||
- GAME_PASSWORD=${SVENCOOP_SERVER_PASSWORD}
|
||||
- GAME_PARAMS="-num_edicts 3072 +sv_lan 0 +map hl_c16_a1 -port 27015 -console -debug;"
|
||||
networks:
|
||||
- svencoop
|
||||
ports:
|
||||
- ${SVENCOOP_SERVER_PORT}:27015
|
||||
- ${SVENCOOP_SERVER_PORT}:27015/udp
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
svencoop:
|
||||
name: svencoop
|
Loading…
x
Reference in New Issue
Block a user