Semaphore: Move from BoltDB to SQLite (#12624)

* Fix

* start

* Apply suggestion from @tremor021
This commit is contained in:
Slaviša Arežina
2026-03-06 21:53:47 +01:00
committed by GitHub
parent be803ced6f
commit 9ff1d088c5
3 changed files with 33 additions and 4 deletions
+4 -3
View File
@@ -30,11 +30,12 @@ SEM_KEY=$(openssl rand -base64 32)
SEM_PW=$(openssl rand -base64 12)
cat <<EOF >/opt/semaphore/config.json
{
"bolt": {
"host": "/opt/semaphore/semaphore_db.bolt"
"sqlite": {
"host": "/opt/semaphore/database.sqlite"
},
"dialect": "sqlite",
"tmp_path": "/opt/semaphore/tmp",
"cookie_hash": "${SEM_HASH}",
"cookie_hash": "${SEM_HASH}",
"cookie_encryption": "${SEM_ENCRYPTION}",
"access_key_encryption": "${SEM_KEY}"
}