No description
Find a file
2024-07-06 16:07:42 -04:00
.gitignore feat: volume backup script 2024-07-06 15:52:06 -04:00
.python-version build: specify python version 2024-07-06 16:07:42 -04:00
backup-podman-volumes.py feat: volume backup script 2024-07-06 15:52:06 -04:00
bootstrap.sh feat: volume backup script 2024-07-06 15:52:06 -04:00
lock-deps.sh feat: volume backup script 2024-07-06 15:52:06 -04:00
pyproject.toml feat: volume backup script 2024-07-06 15:52:06 -04:00
README.md feat: volume backup script 2024-07-06 15:52:06 -04:00
requirements.txt feat: volume backup script 2024-07-06 15:52:06 -04:00
Taskfile.yml fix: path prefix for common dotenv 2024-05-09 01:21:32 -04:00

scripts

Utilities to manage the machine Spadinastan runs on.

Setup

Python dependencies associated with the scripts can be installed via ./bootstrap.sh, which provides a venv to run the scripts in.

Usage

Ensure that go-task is installed and task -l!

System configuration

Scripts used by the task command will expect certain configuration files to exist on the system.

A file should exist at /etc/opt/spadinastan/common.env to define general root locations for where application data and media will be stored.

# /etc/opt/common.env

# Storage for application configuration volumes.
APP_DATA_DIR=...

# Storage for media owned by applications, such as downloads.
STORAGE_DIR=...

Per-app configuration

Each application expects to find an environment file under /etc/opt/spadinastan/<application>.env. This is passed to the container as an envfile on start.

If the container doesn't expect anything, the file should still be present but empty.