This commit is contained in:
martin.fencl
2026-02-03 18:32:15 +01:00
parent eb5d587334
commit 9aed30136d
3 changed files with 163 additions and 54 deletions

View File

@@ -0,0 +1,26 @@
version: "3.8"
services:
semaphore:
image: semaphoreui/semaphore:latest
user: "0:0"
ports:
- "3000:3000"
environment:
SEMAPHORE_DB_DIALECT: bolt
SEMAPHORE_DB_PATH: /etc/semaphore/semaphore.db.bolt # full path to file!
SEMAPHORE_TMP_PATH: /var/lib/semaphore/projects
SEMAPHORE_ADMIN: admin
SEMAPHORE_ADMIN_NAME: admin
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN_PASSWORD: changeme
SEMAPHORE_ACCESS_KEY_ENCRYPTION: "rZffGjw4BGlwoM+66fStJ4Pg+ivLc5ghtty3yoscltY="
volumes:
- /data/compose/semaphore/db:/etc/semaphore
- /data/compose/semaphore/projects:/var/lib/semaphore/projects
- /data/compose/semaphore/backups:/opt/mikrotik_backups/
- /data/compose/semaphore/ansible.cfg:/etc/ansible.cfg:ro # mount as file, ne do /etc/ansible/ansible.cfg
restart: unless-stopped