blob: 2e408b05589d7b4419ba9c39d2372b2b311817e8 (
plain)
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
|
---
version: "3.8"
services:
tube:
image: prologic/tube
command: -c /config.json
configs:
- source: config_json
target: /config.json
networks:
- traefik
volumes:
- tube:/data
deploy:
labels:
- "traefik.enable=true"
- "traefik.port=8000"
- "traefik.backend=tube"
- "traefik.docker.network=traefik"
- "traefik.frontend.rule=Host:tube.mydomain.tld"
restart_policy:
condition: on-failure
replicas: 1
configs:
config_json:
file: ./config.json
networks:
traefik:
external: true
volumes:
tube:
driver: local
|