fix: update semaphore configuration and enhance update process in Ansible playbook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user