Chnage config to volume
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
FROM privatebin/unit-fs
|
|
||||||
|
|
||||||
COPY conf.php /srv/cfg/conf.php
|
|
||||||
@@ -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`)
|
||||||
|
|||||||
Reference in New Issue
Block a user