Compare commits

...

2 Commits
v1.0.0 ... main

Author SHA1 Message Date
8e92873d91 🐛 use echo, lib log not loaded 2024-09-12 20:12:49 +02:00
9909994668 💄 use alert boxes for notes 2024-09-07 13:30:32 +02:00
2 changed files with 7 additions and 4 deletions

View File

@ -22,9 +22,11 @@ services:
$ docker compose up -d $ docker compose up -d
``` ```
> ▶️ For both variants, persistent config files and user data will be stored in the `./data` directory. Feel free to change this to your needs. > [!TIP]
> For both variants, persistent config files and user data will be stored in the `./data` directory. Feel free to change this to your needs.
> ▶️ With this setup, the server will publicly listen on port 8080 via unencrypted http. When using in production, make sure to use a reverse proxy to add ssl functionality! > [!IMPORTANT]
> With this setup, the server will publicly listen on port 8080 via unencrypted http. When using in production, make sure to use a reverse proxy to add ssl functionality!
## User Management ## User Management
Create initial admin account: Create initial admin account:
@ -32,4 +34,5 @@ Create initial admin account:
$ docker compose exec main .venv/bin/python3 ./manage.py createsuperuser $ docker compose exec main .venv/bin/python3 ./manage.py createsuperuser
``` ```
> ▶️ If you are using docker run, replace `docker compose exec main` with `docker exec -it etebase`. > [!NOTE]
> If you are using docker run, replace `docker compose exec main` with `docker exec -it etebase`.

View File

@ -17,7 +17,7 @@ trap_exit(){
q=$(( q + 1 )) q=$(( q + 1 ))
snore 1 snore 1
if [[ "$q" -ge 15 ]]; then if [[ "$q" -ge 15 ]]; then
log_warn "Sending kill to Etebase" echo "Sending kill to Etebase" 1>&2
kill -s KILL -- $pid 2> /dev/null || true kill -s KILL -- $pid 2> /dev/null || true
break break
fi fi