Updated docker readme

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2021-02-25 08:18:26 +01:00
parent 5886e37f99
commit 14f139ce05
2 changed files with 14 additions and 12 deletions

View File

@ -1,12 +0,0 @@
How to build
Pick the latest deb package from Bitbucket download page (https://bitbucket.org/jsuto/piler/downloads/)
and use it as the PACKAGE build argument, eg.
docker build --build-arg PACKAGE=piler_1.3.6~bionic-65cc7eb_amd64.deb -t sutoj/piler .
How to run the image
Set the PILER_HOST env variable to match your hostname, eg.
docker run -d --name piler1 -p 25:25 -p 80:80 -e PILER_HOST=archive.yourdomain.com sutoj/piler

14
docker/README.md Normal file
View File

@ -0,0 +1,14 @@
How to run piler
Edit the variables in docker-compose.yaml, then run
```
docker-compose up -d
```
How to build the image for yourself
Pick the latest deb package from Bitbucket download page (https://bitbucket.org/jsuto/piler/downloads/)
and use it as the PACKAGE build argument, eg.
docker build --build-arg PACKAGE=piler_1.3.11-focal-5c2ceb1_amd64.deb -t piler:1.3.11 .