add in neko compose and dockerfile

This commit is contained in:
2026-05-29 09:26:59 +00:00
Unverified
parent aa1b0fa023
commit 823240d456
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# neko - https://github.com/m1k1o/neko
# https://neko.m1k1o.net/docs/v3/configuration
services:
neko:
container_name: neko
#build:
# context: .
# dockerfile: dockerfile
#image: ghcr.io/m1k1o/neko/kde
image: ghcr.io/m1k1o/neko/nvidia-firefox
restart: "unless-stopped"
shm_size: "2gb"
ports:
- "${NECO_PORT}:8080"
- "${WEBRTC}:52000-52100/udp"
environment:
NEKO_DESKTOP_SCREEN: 1920x1080@30
NEKO_MEMBER_MULTIUSER_USER_PASSWORD: ${NEKO_MEMBER_MULTIUSER_USER_PASSWORD}
NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD: ${NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD}
NEKO_WEBRTC_EPR: 52000-52100
NEKO_WEBRTC_ICELITE: 1
# See: https://neko.m1k1o.net/docs/v3/configuration/webrtc#ip
# NEKO_NAT1TO1: <IP_ADDRESS>
labels:
# Nginx Proxy Manager Automation
- "npm.proxy.domains=neko.wompmacho.com"
- "npm.proxy.host=${DOCKER_HOST_IP}"
- "npm.proxy.port=${NECO_PORT}"
- "npm.proxy.scheme=http"
- "npm.proxy.websockets=true"
- "npm.proxy.ssl.force=true"
- "npm.proxy.ssl.certificate.id=2"
- "pihole.custom-record=[[\"moonlight.wompmacho.com\", \"${DOCKER_HOST_IP}\"]]"