Initial commit, adding media-stack for swarm.
This commit is contained in:
@@ -19,7 +19,13 @@ services:
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
network_mode: bridge
|
||||
ports: ["32400:32400"]
|
||||
ports:
|
||||
- 1900:1900
|
||||
- 5353:5353
|
||||
- 8324:8324
|
||||
- 32400:32400
|
||||
- 32412:32412
|
||||
- 32469:32469
|
||||
environment:
|
||||
- PUID=117
|
||||
- PGID=101
|
||||
|
||||
@@ -27,6 +27,12 @@ services:
|
||||
- --accessLog.filters.statusCodes=204-299,400-499,500-599
|
||||
- --providers.file.directory=rules
|
||||
- --providers.file.watch=true
|
||||
- --metrics.prometheus=true
|
||||
- --metrics.prometheus.buckets=0.100000, 0.300000, 1.200000, 5.000000
|
||||
- --metrics.prometheus.addEntryPointsLabels=true
|
||||
- --metrics.prometheus.addServicesLabels=true
|
||||
- --entryPoints.metrics.address=:8899
|
||||
- --metrics.prometheus.entryPoint=metrics
|
||||
|
||||
labels:
|
||||
# Enable Traefik for this service, to make it available in the public network
|
||||
@@ -78,3 +84,5 @@ services:
|
||||
- "1443:443"
|
||||
# The web UI (enabled by --api.insecure=true)
|
||||
- "8080:8080"
|
||||
# Prometheus metrics
|
||||
- "8899:8899"
|
||||
|
||||
Reference in New Issue
Block a user