fix: replace semaphore role with new Podman + Quadlet version

This commit is contained in:
Hermes Agent service account
2026-05-26 22:46:46 -05:00
parent a781ef8b14
commit c1810fde8a
5 changed files with 101 additions and 56 deletions

View File

@@ -0,0 +1,25 @@
[Unit]
Description=Semaphore UI
After=network-online.target
Wants=network-online.target
[Container]
Image={{ semaphore_image }}
ContainerName={{ semaphore_container_name }}
PublishPort={{ semaphore_port }}:3000
Volume={{ semaphore_data_dir }}:/var/lib/semaphore:Z
Volume={{ semaphore_config_dir }}:/etc/semaphore:Z
Environment=SEMAPHORE_DB_TYPE={{ semaphore_db_type }}
Environment=SEMAPHORE_DB_PATH={{ semaphore_db_path }}
Environment=SEMAPHORE_ADMIN=admin
Environment=SEMAPHORE_ADMIN_PASSWORD={{ vault_semaphore_admin_password }}
Environment=SEMAPHORE_ACCESS_KEY_ENCRYPTION={{ vault_semaphore_access_key_encryption }}
User={{ semaphore_user }}
Group={{ semaphore_group }}
Restart=always
[Service]
Restart=always
[Install]
WantedBy=multi-user.target