mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
baf21c1d97
we used to have file neko.yaml with default configuration, but if we would add neko.yml the default configuration would still be read. so instead, default configuartion was moved to the sever itself and no file is distributed with it by defautl.
37 lines
1.9 KiB
YAML
37 lines
1.9 KiB
YAML
services:
|
|
neko:
|
|
# Runs Firefox in Neko. Firefox is the default, most tested image, but Neko
|
|
# supports many other browsers and applications - see the full list here:
|
|
# https://neko.m1k1o.net/docs/v3/installation/docker-images#apps
|
|
image: "ghcr.io/m1k1o/neko/firefox:latest"
|
|
restart: "unless-stopped"
|
|
shm_size: "2gb"
|
|
ports:
|
|
- "8080:8080"
|
|
- "52000-52100:52000-52100/udp"
|
|
# volumes:
|
|
# Persist Firefox settings, bookmarks, extensions and history across
|
|
# container restarts by mounting the profile directory.
|
|
# See: https://neko.m1k1o.net/docs/v3/customization/browsers#persistent-profile
|
|
# - "./profile:/home/neko/.mozilla/firefox/profile.default"
|
|
|
|
# Or mount your own pre-configured Firefox profile instead of an empty one.
|
|
# See: https://neko.m1k1o.net/docs/v3/customization/browsers#persistent-profile
|
|
# - "./my-custom-profile:/home/neko/.mozilla/firefox/profile.default"
|
|
environment:
|
|
# You can configure either EPR or MUX ports for WebRTC.
|
|
# See: https://neko.m1k1o.net/docs/v3/configuration/webrtc#network
|
|
NEKO_WEBRTC_EPR: 52000-52100
|
|
# Specify the screen resolution and refresh rate for the virtual desktop. The
|
|
# default is 1920x1080@30, but you can change it to any other resolution.
|
|
# See: https://neko.m1k1o.net/docs/v3/configuration/desktop#screen
|
|
NEKO_DESKTOP_SCREEN: 1920x1080@30
|
|
# You can configure a password for the default user and admin accounts. The
|
|
# default user account is "neko" and the default admin account is "admin".
|
|
# See: https://neko.m1k1o.net/docs/v3/configuration/authentication#member.multiuser
|
|
NEKO_MEMBER_MULTIUSER_USER_PASSWORD: neko
|
|
NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD: admin
|
|
# Specifying reachable IP by clients is required when running Neko.
|
|
# See: https://neko.m1k1o.net/docs/v3/configuration/webrtc#nat1to1
|
|
NEKO_WEBRTC_NAT1TO1: <your-IP>
|