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