Files
Quentin JOLY ebd0af91cd Correction des healthchecks + ajout des container_name manquant (#13)
* Correction des healthchecks

* Ajout de container_name
2022-10-18 12:32:27 +02:00

49 lines
1.5 KiB
YAML

# Maintainer: Quentin JOLY
# Update: 2022-09-28
#& type: 3
#& title: Deemix
#& description: Download music from deezer easily
#& note: Website: <a href='https://deemix.app/' target='_blank' rel='noopener'>deemix.app</a>
#& categories: SelfHosted, PAPAMICA
#& platform: linux
#& logo: https://deemix.app/img/logo.png
#% SERVICE: Name of the service (No spaces or points) [deemix]
#% DATA_LOCATION: Data localization (Example: /apps/service) [/_data/apps]
#% URL: Service URL (Example: service.papamica.fr or service.com)
#% NETWORK: Your Traefik network (Example: proxy) [proxy]
# Work with Portainer
version: '3.8'
services:
deemix:
image: registry.gitlab.com/bockiii/deemix-docker # official developer
volumes:
- $DATA_LOCATION/$SERVICE/downloads/:/downloads
- $DATA_LOCATION/$SERVICE/config:/config
container_name: $SERVICE
environment:
- PUID=1000
- PGID=1000
- UMASK_SET=022
- DEEMIX_SINGLE_USER=true
healthcheck:
test: wget -q 'http://localhost:6595'
interval: 1m
timeout: 30s
retries: 3
networks:
- default
labels:
- "autoupdate=monitor" # https://github.com/PAPAMICA/container-updater
- "traefik.enable=true"
- "traefik.http.routers.$SERVICE.entrypoints=https"
- "traefik.http.routers.$SERVICE.rule=Host(`$URL`)"
- "traefik.http.routers.$SERVICE.tls.certresolver=http"
- "traefik.http.services.$SERVICE.loadbalancer.server.port=6595"
networks:
default:
external:
name: $NETWORK