fix: update semaphore configuration and enhance update process in Ansible playbook

This commit is contained in:
martin.fencl
2026-08-17 23:19:58 +02:00
parent 5cf37aae6e
commit 17c4a696d2
2 changed files with 117 additions and 41 deletions
@@ -2,21 +2,17 @@
services:
semaphore:
# Official upstream image, same version as the custom build.
# Changing image and version separately keeps failures diagnosable.
image: semaphoreui/semaphore:v2.18.3
container_name: semaphore
user: "0:0"
ports:
- "3008:3000"
environment:
# Database config lives in /etc/semaphore/config.json
SEMAPHORE_TMP_PATH: /var/lib/semaphore/projects
SEMAPHORE_ADMIN: admin
SEMAPHORE_ADMIN_NAME: admin
SEMAPHORE_ADMIN_EMAIL: admin@localhost
env_file:
# Absolute path — the deploy dir is wiped on every playbook run
- /data/compose/semaphore/semaphore.env
volumes:
- /data/compose/semaphore/db:/etc/semaphore