-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxteve.yml
44 lines (40 loc) · 1.06 KB
/
xteve.yml
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
# Docker-compose mis à disposition par Kevin Allioli
# Date de mise à jour : 17/03/2021
# Variables d'environnement à déclarer :
# - SERVICE : nom du service (exemple : plex)
# - TZ : Timezone du service (exemple : Europe/Paris)
# - DATA_LOCATION : localisation des données
# - NETWORK_APP : nom du réseau applicatif
# Fonctionne avec Portainer
version: '2'
services:
xteve:
image: alturismo/xteve
container_name: $SERVICE
hostname: xteve
restart: unless-stopped
ports:
- "127.0.0.1:34400:34400"
- "1901:1900" #1900 used by Plex
environment:
TZ: $TZ
logging:
driver: loki
options:
loki-url: "$URL_LOKI"
loki-external-labels: service={{.Name}}
networks:
- default
healthcheck:
test: curl --fail http://localhost:34400 || exit 1
interval: 1m
timeout: 30s
retries: 3
volumes:
- $DATA_LOCATION/config:/config:rw
- $DATA_LOCATION/root:/root/.xteve
- /dev/shm:/tmp/xteve
networks:
default:
external:
name: $NETWORK_APP