Chnage config to volume

This commit is contained in:
2025-03-31 21:58:52 +02:00
parent 84533e1885
commit d5f506e073
2 changed files with 2 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
FROM privatebin/unit-fs
COPY conf.php /srv/cfg/conf.php

View File

@@ -1,10 +1,9 @@
services: services:
privatebin: privatebin:
build: image: privatebin/unit-fs
context: .
dockerfile: Containerfile
volumes: volumes:
- data:/srv/data - data:/srv/data
- ./conf.php:/srv/cfg/conf.php:ro
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.privatebin.rule=Host(`secrets.marijndoeve.nl`) - traefik.http.routers.privatebin.rule=Host(`secrets.marijndoeve.nl`)