43 | {% endblock content %}
--------------------------------------------------------------------------------
/app/tools/templates/index.html:
--------------------------------------------------------------------------------
1 | {% extends "layout.html" %}
2 | {% block content %}
3 |
4 |
27 | {% endblock content %}
--------------------------------------------------------------------------------
/root/etc/cont-init.d/01-usermods:
--------------------------------------------------------------------------------
1 | #!/usr/bin/with-contenv sh
2 | PUID=${PUID:-1970}
3 | PGID=${PGID:-1970}
4 |
5 | groupmod -o -g "$PGID" simon
6 | usermod -o -u "$PUID" simon
7 |
8 | chown simon:simon /config
9 |
--------------------------------------------------------------------------------
/root/etc/services.d/tools/run:
--------------------------------------------------------------------------------
1 | #!/usr/bin/with-contenv bash
2 |
3 | cd /app
4 | exec s6-setuidgid simon python3 run.py
5 |
--------------------------------------------------------------------------------