Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 1.62 KB
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (35 loc) · 1.62 KB
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
version: '3.7'
services:
privatebin:
image: privatebin/nginx-fpm-alpine:2.1.1
container_name: privatebin
dns:
- ${DNS_IP}
ports:
- ${APP_PORT}:8080
restart: unless-stopped
networks:
- tipi_main_network
volumes:
- ${APP_DATA_DIR}/data:/srv/data
labels:
traefik.enable: true
traefik.http.middlewares.privatebin-web-redirect.redirectscheme.scheme: https
traefik.http.services.privatebin.loadbalancer.server.port: 8080
traefik.http.routers.privatebin-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.privatebin-insecure.entrypoints: web
traefik.http.routers.privatebin-insecure.service: privatebin
traefik.http.routers.privatebin-insecure.middlewares: privatebin-web-redirect
traefik.http.routers.privatebin.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.privatebin.entrypoints: websecure
traefik.http.routers.privatebin.service: privatebin
traefik.http.routers.privatebin.tls.certresolver: myresolver
traefik.http.routers.privatebin-local-insecure.rule: Host(`privatebin.${LOCAL_DOMAIN}`)
traefik.http.routers.privatebin-local-insecure.entrypoints: web
traefik.http.routers.privatebin-local-insecure.service: privatebin
traefik.http.routers.privatebin-local-insecure.middlewares: privatebin-web-redirect
traefik.http.routers.privatebin-local.rule: Host(`privatebin.${LOCAL_DOMAIN}`)
traefik.http.routers.privatebin-local.entrypoints: websecure
traefik.http.routers.privatebin-local.service: privatebin
traefik.http.routers.privatebin-local.tls: true
runtipi.managed: true