Draft: [WIP] Dockerize lufi for postgresql
Dockerized Lufi
This will fix !87 (closed)
Dockerfile
and docker-compose.yml
files to deploy Lufi with postgres database.
All environments variables starting with LUFI__
are converted to config entries.
examples:
-
LUFI__INSTANCE_NAME=Luuuufi
is converted toinstance_name => 'Luuuufi
-
LUFI__PGDB__DATABASE=lufi
is converted topgdp => { database => 'lufi'}
See docker-compose.yml
for more examples.
Usage
build
docker build -t lufi .
Run
docker-compose up -d
Enjoy Lufi at localhost:8081
Things to do/improve
-
Working Dockerfile -
Create config from ENV -
SMTP config -
cron jobs -
lufi logs when docker-compose logs -f
Edited by Monsieur X