2026-05-21 01:29:44 +00:00
|
|
|
services:
|
|
|
|
|
swingmusic:
|
|
|
|
|
image: ghcr.io/swingmx/swingmusic:latest
|
|
|
|
|
container_name: swingmusic
|
2026-08-06 15:19:47 +00:00
|
|
|
#ports:
|
|
|
|
|
# - "1970:1970"
|
2026-05-21 01:29:44 +00:00
|
|
|
volumes:
|
2026-08-06 15:12:45 +00:00
|
|
|
- ${PATH_NAME}:/music
|
2026-05-21 01:29:44 +00:00
|
|
|
- /srv/docker/swingmusic:/config
|
2026-08-06 15:19:47 +00:00
|
|
|
environment:
|
|
|
|
|
#- SWINGMUSIC_PORT=1970
|
|
|
|
|
- SWINGMUSIC_DEVICE_NAME=swingmusic
|
2026-05-21 01:29:44 +00:00
|
|
|
restart: unless-stopped
|
2026-06-07 00:41:12 +00:00
|
|
|
networks:
|
|
|
|
|
- traefik_network
|
|
|
|
|
labels:
|
|
|
|
|
### Auto create icon on Flame dashboard
|
|
|
|
|
- flame.type=application
|
|
|
|
|
- flame.name=${SERVICE_NAME}
|
|
|
|
|
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
|
2026-06-07 00:43:03 +00:00
|
|
|
- flame.icon=https://cdn.jsdelivr.net/gh/selfhst/icons/png/swing-music.png
|
2026-06-07 00:41:12 +00:00
|
|
|
### Traefik Labels
|
|
|
|
|
- traefik.enable=true
|
|
|
|
|
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
|
|
|
|
|
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
|
|
|
|
|
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
|
|
|
|
|
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
|
|
|
|
### Monitor with uptime-kuma
|
|
|
|
|
- kuma.monitoring.group.name=Docker Containers
|
|
|
|
|
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
|
|
|
|
|
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
|
|
|
|
|
- kuma.${SERVICE_NAME}.docker.type=docker
|
|
|
|
|
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
|
|
|
|
|
- kuma.${SERVICE_NAME}.docker.docker_host=1
|
|
|
|
|
- 'kuma.${SERVICE_NAME}.docker.tag_names=[{"name": "docker_tag"}]'
|
2026-05-21 01:29:44 +00:00
|
|
|
networks:
|
2026-06-07 00:41:12 +00:00
|
|
|
traefik_network:
|
|
|
|
|
external: true
|