-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 935 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 935 Bytes
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
volumes:
data_privatebin:
external: false
services:
traefik:
image: traefik:v3
ports:
- 80:80
- 443:443
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
command:
- --api.dashboard=true
- --api.insecure=true
- --providers.docker=true
- --entryPoints.web.address=:80
- --entryPoints.websecure.address=:443
labels:
- traefik.enable=false
privatebin:
image: privatebin/nginx-fpm-alpine
labels:
- traefik.enable=true
- traefik.http.routers.privatebin.entrypoints=web
- traefik.http.routers.privatebin.rule=Host(`privatebin.dev.local`)
- traefik.http.routers.privatebin-tls.tls=true
- traefik.http.routers.privatebin-tls.entrypoints=websecure
- traefik.http.routers.privatebin-tls.rule=Host(`privatebin.dev.local`)
- traefik.http.services.privatebin.loadbalancer.server.port=8080