Skip to content

Commit

Permalink
privatebin
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesTurland committed Dec 5, 2024
1 parent 9f175d6 commit 0ebdc1d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions PrivateBin/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3.8'
services:
privatebin:
image: privatebin/nginx-fpm-alpine
restart: always
read_only: true
user: "1000:1000" # Run the container with the UID:GID of your Docker user
#ports:
# - "8080:8080"
volumes:
- /home/ubuntu/docker/private-bin:/srv/data
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.privatebin.entrypoints=http"
- "traefik.http.routers.privatebin.rule=Host(`privatebin.jimsgarage.co.uk`)"
- "traefik.http.middlewares.privatebin-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.privatebin.middlewares=privatebin-https-redirect"
- "traefik.http.routers.privatebin-secure.entrypoints=https"
- "traefik.http.routers.privatebin-secure.rule=Host(`privatebin.jimsgarage.co.uk`)"
- "traefik.http.routers.privatebin-secure.tls=true"
- "traefik.http.routers.privatebin-secure.tls.certresolver=cloudflare"
- "traefik.http.routers.privatebin-secure.service=privatebin"
- "traefik.http.services.privatebin.loadbalancer.server.port=8080"
networks:
proxy:
external: true

0 comments on commit 0ebdc1d

Please sign in to comment.