624 B
624 B
zetikettes
ouaich.
Initial setup
docker build -t zetikettes .
Nginx is configured to:
- redirect /zetikettes/srv/ to localhost:8000
- redirect /zetikettes/ to /var/lib/zetikettes/static
Conf is in /etc/nginx/sites-available/default
Run
docker run -d --rm -p 8000:8000 -v /var/lib/zetikettes/templates:/data zetikettes
Change available templates
- make or update templates
- add them to tempaltes/
- update static/zetikettes.js
- git commit && git push
- update /var/lib/zetikettes
- no need to restart the container (magic!)
- profit.