-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
71 lines (71 loc) · 2.42 KB
/
compose.yaml
File metadata and controls
71 lines (71 loc) · 2.42 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
services:
nicotine-plus:
image: ghcr.io/fletchto99/nicotine-plus-docker:20250531-4b64e46
container_name: nicotine-plus
deploy:
resources:
limits:
cpus: '2'
memory: 2048M
reservations:
cpus: '0.5'
memory: 1024M
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=password
- LISTENING_PORT=23337
volumes:
- /home/atomyo/media/bighdd/music:/data
- /data/nicotine/config:/config/.config/nicotine/
- /data/nicotine/downloads:/config/.local/share/nicotine/downloads
- /data/nicotine/incomplete:/config/.local/share/nicotine/incomplete
- /data/nicotine/received:/config/.local/share/nicotine/received
- /data/nicotine/logs:/config/.local/share/nicotine/logs
- /data/nicotine/plugins:/config/.local/share/nicotine/plugins
restart: unless-stopped
network_mode: service:vpn
depends_on:
- vpn
vpn:
image: ghcr.io/hotio/base:alpinevpn@sha256:257c5cc47b59e661b09a046c7fcdd27a978ce83c8615c47995a955adeed96336
container_name: vpn
deploy:
resources:
limits:
cpus: '0.30'
memory: 30M
reservations:
cpus: '0.15'
memory: 15M
volumes:
- /data/nicotine/cfg:/config
ports:
- 6080:6080
- 23337:23337
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Etc/UTC
- VPN_ENABLED=true
- VPN_CONF=wg0
- VPN_PROVIDER=generic
- VPN_LAN_NETWORK=192.168.1.0/24
- VPN_LAN_LEAK_ENABLED=false
- VPN_EXPOSE_PORTS_ON_LAN=6080/tcp
- VPN_AUTO_PORT_FORWARD=false
- VPN_AUTO_PORT_FORWARD_TO_PORTS=
- VPN_FIREWALL_TYPE=auto
- VPN_HEALTHCHECK_ENABLED=false
- VPN_NAMESERVERS=
- PRIVOXY_ENABLED=false
- UNBOUND_ENABLED=false
- UNBOUND_NAMESERVERS
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=1