blob: 75f48f4ed927f44a165e37310d21f830c9c24d22 (
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
|
services:
bin:
image: stonith404/pingvin-share
volumes:
- {{ bin_base }}/volumes/data:/data
environment:
- TZ={{ timezone }}
- TRUST_PROXY=true
- API_URL=https://{{ bin_domain }}
- DATA_DIRECTORY=/data
- DATABASE_URL=file:/data/pingvin-share.db?connection_limit=1
networks:
- proxy
deploy:
mode: replicated
replicas: 1
labels:
- traefik.enable=true
- traefik.swarm.network=proxy
- traefik.http.routers.bin.tls=true
- traefik.http.routers.bin.tls.certResolver=letsencrypt
- traefik.http.routers.bin.rule=Host(`{{ bin_domain }}`)
- traefik.http.routers.bin.entrypoints=websecure
- traefik.http.services.bin.loadbalancer.server.port=3000
networks:
proxy:
external: true
|