generated from robolaunch/neko
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
50 lines (50 loc) · 1.28 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: "3.4"
services:
neko1:
image: "robolaunchio/devspace:focal-xfce-amd64-0.1.0"
entrypoint: "sleep infinity"
restart: "unless-stopped"
shm_size: "2gb"
ports:
- "8080:8080"
- "52000-52100:52000-52100/udp"
environment:
NEKO_SCREEN: 1920x1080@30
NEKO_PASSWORD: neko
NEKO_PASSWORD_ADMIN: admin
NEKO_EPR: 52000-52100
NEKO_ICELITE: 1
NEKO_VIDEO_CODEC: h264
NEKO_HWENC: nvenc
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# neko2:
# image: "robolaunchio/devspace:xfce-focal"
# entrypoint: "supervisord -c /etc/neko/supervisord.conf"
# restart: "unless-stopped"
# shm_size: "2gb"
# ports:
# - "9090:9090"
# - "51000-51100:51000-51100/udp"
# environment:
# NEKO_SCREEN: 1920x1080@30
# NEKO_PASSWORD: neko
# NEKO_PASSWORD_ADMIN: admin
# NEKO_EPR: 51000-51100
# NEKO_NAT1TO1: 172.31.75.192
# NEKO_ICELITE: 0
# NEKO_VIDEO_CODEC: h264
# NEKO_HWENC: nvenc
# NEKO_BIND: :9090
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]