add in neko compose and dockerfile
This commit is contained in:
33
docker_compose/neko/docker-compose.yaml
Normal file
33
docker_compose/neko/docker-compose.yaml
Normal 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}\"]]"
|
||||
14
docker_compose/neko/dockerfile
Normal file
14
docker_compose/neko/dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM ghcr.io/m1k1o/neko/kde:latest
|
||||
|
||||
# Switch to root to install packages
|
||||
USER root
|
||||
|
||||
# Update packages and install your chosen browser
|
||||
# Example for Firefox:
|
||||
RUN apt-get update && apt-get install -y firefox-esr && apt-get clean
|
||||
|
||||
# Alternatively, for Chromium:
|
||||
# RUN apt-get update && apt-get install -y chromium && apt-get clean
|
||||
|
||||
# Switch back to the 'neko' user
|
||||
USER neko
|
||||
Reference in New Issue
Block a user