-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
58 lines (50 loc) · 1.54 KB
/
docker-compose.yaml
File metadata and controls
58 lines (50 loc) · 1.54 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
services:
snapserver:
image: 'ghcr.io/firefrei/snapcast/server:latest'
restart: always
#cap_add:
#- NET_BIND_SERVICE # Optional: allow container to bind privileged ports (>1024)
environment:
# See README.md for all environment options.
TZ: "Etc/UTC"
volumes:
# Snapcast: Configuration and run-time data
- snapcast-data:/app/data/
#- snapcast-config:/app/config/
#- ./config_snapcast/:/app/config/
# HTTPS certificates
#- snapcast-certs:/app/certs/
# Network Alternative 1: Use host networking
network_mode: host
# Network Alternative 2: Bridge container directly into your home network
#networks:
#bridged-home-network:
#ipv4_address: <desired-ip-of-container>
# Network Alternative 3: Use port-forwarding of host ports (experimental, not recommended)
# ports:
# # Snapcast Ports
# - '1704-1705:1704-1705'
# - '1780:1780'
# - '1788:1788'
# # AirPlay ports
# - '3689:3689'
# - '5000:5000'
# - '6000-6009:6000-6009/udp'
# # AirPlay-2 ports
# #- '319-320:319-320/udp'
# #- '3689:3689'
# #- '5000:5000'
# #- '7000:7000'
# #- '6000-6009:6000-6009/udp'
# # Avahi ports
# - '5353:5353'
volumes:
#snapcast-config:
snapcast-data:
snapcast-certs:
# Network Alternative 2
# The network `bridged-home-network` must be manually created
# with `docker network create ...` and bridged to the home network
#networks:
#bridged-home-network:
#external: true