{"id":47874408,"url":"https://github.com/imagegenius/docker-semaphore","last_synced_at":"2026-04-04T01:08:03.871Z","repository":{"id":158083228,"uuid":"627926748","full_name":"imagegenius/docker-semaphore","owner":"imagegenius","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-23T12:21:36.000Z","size":147,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T12:27:27.140Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imagegenius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-14T14:02:11.000Z","updated_at":"2025-04-23T12:21:39.000Z","dependencies_parsed_at":"2023-11-10T20:23:27.546Z","dependency_job_id":"373ec238-01de-44bd-83c1-3f39ddb635d2","html_url":"https://github.com/imagegenius/docker-semaphore","commit_stats":null,"previous_names":[],"tags_count":133,"template":false,"template_full_name":null,"purl":"pkg:github/imagegenius/docker-semaphore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-semaphore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-semaphore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-semaphore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-semaphore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imagegenius","download_url":"https://codeload.github.com/imagegenius/docker-semaphore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-semaphore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T01:07:58.504Z","updated_at":"2026-04-04T01:08:03.858Z","avatar_url":"https://github.com/imagegenius.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- DO NOT EDIT THIS FILE MANUALLY --\u003e\n\u003c!-- Please read https://github.com/imagegenius/docker-semaphore/blob/main/.github/CONTRIBUTING.md --\u003e\n\n# This image is deprecated. We will not offer support for this image and it will not be updated.\n\nNo longer use this image, alternative images exist.\n\n# [imagegenius/semaphore](https://github.com/imagegenius/docker-semaphore)\n\n[![GitHub Release](https://img.shields.io/github/release/imagegenius/docker-semaphore.svg?color=007EC6\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github)](https://github.com/imagegenius/docker-semaphore/releases)\n[![GitHub Package Repository](https://shields.io/badge/GitHub%20Package-blue?logo=github\u0026logoColor=ffffff\u0026style=for-the-badge)](https://github.com/imagegenius/docker-semaphore/packages)\n[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026jobUrl=https%3A%2F%2Fci.imagegenius.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-semaphore%2Fjob%2Fmain%2F\u0026logo=jenkins)](https://ci.imagegenius.io/job/Docker-Pipeline-Builders/job/docker-semaphore/job/main/)\n[![IG CI](https://img.shields.io/badge/dynamic/yaml?color=007EC6\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=CI\u0026query=CI\u0026url=https%3A%2F%2Fci-tests.imagegenius.io%2Fsemaphore%2Flatest-main%2Fci-status.yml)](https://ci-tests.imagegenius.io/semaphore/latest-main/index.html)\n\nSemaphore is a modern UI for Ansible. It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system.\n\n[![semaphore](https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/semaphore.png)](https://semaphoreui.com/)\n\n## Supported Architectures\n\nWe use Docker manifest for cross-platform compatibility. More details can be found on [Docker's website](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list).\n\nTo obtain the appropriate image for your architecture, simply pull `ghcr.io/imagegenius/semaphore:latest`. Alternatively, you can also obtain specific architecture images by using tags.\n\nThis image supports the following architectures:\n\n| Architecture | Available | Tag |\n| :----: | :----: | ---- |\n| x86-64 | ✅ | amd64-\\\u003cversion tag\\\u003e |\n| arm64 | ✅ | arm64v8-\\\u003cversion tag\\\u003e |\n| armhf | ❌ | |\n\n## Application Setup\n\nThe WebUI can be accessed at `http://your-ip:3000`, login with the admin user/password set in the variables.\n\nThe home for Semaphore (`abc`) is set to `/config`, so that SSH keys can be stored in `/config/.ssh`.\n\nTo get SSH working, you first need to SSH into the client (with keys of course). Add your key to `/config/.ssh/id_rsa`, make sure that you run `chmod 600 id_rsa` and `chown abc:abc id_rsa`.\n\nYou can now run `s6-setuidgid abc /bin/bash` to open a shell as `abc`, and run your SSH commands (`ssh \u003cuser\u003e@\u003chost\u003e`), and you should be prompted with `yes`/`no`, type `yes`, then exit the SSH session, Semaphore/Ansible should now be able to SSH into that client.\n\n## Usage\n\nExample snippets to start creating a container:\n\n### Docker Compose\n\n```yaml\n---\nservices:\n  semaphore:\n    image: ghcr.io/imagegenius/semaphore:latest\n    container_name: semaphore\n    environment:\n      - PUID=1000\n      - PGID=1000\n      - TZ=Etc/UTC\n      - SEMAPHORE_DB_DIALECT=bolt\n      - SEMAPHORE_ADMIN=admin\n      - SEMAPHORE_ADMIN_PASSWORD=password\n      - \"SEMAPHORE_ADMIN_NAME=John Doe\"\n      - SEMAPHORE_ADMIN_EMAIL=example@me.com\n      - SEMAPHORE_ACCESS_KEY_ENCRYPTION=admin\n      - SEMAPHORE_DB_HOST=192.168.1.x #optional\n      - SEMAPHORE_DB_USER=semaphore #optional\n      - SEMAPHORE_DB_PASS=semaphore #optional\n      - SEMAPHORE_DB=semaphore #optional\n    volumes:\n      - \u003c/path/to/appdata\u003e:/config\n    ports:\n      - 3000:3000\n    restart: unless-stopped\n```\n\n### Docker CLI ([Click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))\n\n```bash\ndocker run -d \\\n  --name=semaphore \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e SEMAPHORE_DB_DIALECT=bolt \\\n  -e SEMAPHORE_ADMIN=admin \\\n  -e SEMAPHORE_ADMIN_PASSWORD=password \\\n  -e SEMAPHORE_ADMIN_NAME=\"John Doe\" \\\n  -e SEMAPHORE_ADMIN_EMAIL=example@me.com \\\n  -e SEMAPHORE_ACCESS_KEY_ENCRYPTION=admin \\\n  -e SEMAPHORE_DB_HOST=192.168.1.x `#optional` \\\n  -e SEMAPHORE_DB_USER=semaphore `#optional` \\\n  -e SEMAPHORE_DB_PASS=semaphore `#optional` \\\n  -e SEMAPHORE_DB=semaphore `#optional` \\\n  -p 3000:3000 \\\n  -v \u003c/path/to/appdata\u003e:/config \\\n  --restart unless-stopped \\\n  ghcr.io/imagegenius/semaphore:latest\n```\n\n## Parameters\n\nTo configure the container, pass variables at runtime using the format `\u003cexternal\u003e:\u003cinternal\u003e`. For instance, `-p 8080:80` exposes port `80` inside the container, making it accessible outside the container via the host's IP on port `8080`.\n\n| Parameter | Function |\n| :----: | --- |\n| `-p 3000` | WebUI Port |\n| `-e PUID=1000` | UID for permissions - see below for explanation |\n| `-e PGID=1000` | GID for permissions - see below for explanation |\n| `-e TZ=Etc/UTC` | Specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |\n| `-e SEMAPHORE_DB_DIALECT=bolt` | Choose either `bolt`, `postgres` or `mysql`. If `bolt` is chosen, the optional variables (`SEMAPHORE_DB...`) do not need to be specified as `bolt` is a 'built-in' database |\n| `-e SEMAPHORE_ADMIN=admin` | Specify the admin user |\n| `-e SEMAPHORE_ADMIN_PASSWORD=password` | Specify the admin password |\n| `-e SEMAPHORE_ADMIN_NAME=John Doe` | Specify the admin name |\n| `-e SEMAPHORE_ADMIN_EMAIL=example@me.com` | Specify the admin email |\n| `-e SEMAPHORE_ACCESS_KEY_ENCRYPTION=admin` | Specify the key for encrypting access keys in database. It must be generated by using the following command: `head -c32 /dev/urandom | base64`. |\n| `-e SEMAPHORE_DB_HOST=192.168.1.x` | Host IP of PostgreSQL or MySQL |\n| `-e SEMAPHORE_DB_USER=semaphore` | PostgreSQL/MySQL database user |\n| `-e SEMAPHORE_DB_PASS=semaphore` | PostgreSQL/MySQL database password |\n| `-e SEMAPHORE_DB=semaphore` | PostgreSQL/MySQL database |\n| `-v /config` | Appdata Path |\n\n## Umask for running applications\n\nAll of our images allow overriding the default umask setting for services started within the containers using the optional -e UMASK=022 option. Note that umask works differently than chmod and subtracts permissions based on its value, not adding. For more information, please refer to the Wikipedia article on umask [here](https://en.wikipedia.org/wiki/Umask).\n\n## User / Group Identifiers\n\nTo avoid permissions issues when using volumes (`-v` flags) between the host OS and the container, you can specify the user (`PUID`) and group (`PGID`). Make sure that the volume directories on the host are owned by the same user you specify, and the issues will disappear.\n\nExample: `PUID=1000` and `PGID=1000`. To find your PUID and PGID, run `id user`.\n\n```bash\n  $ id username\n    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)\n```\n\n\n## Updating the Container\n\nMost of our images are static, versioned, and require an image update and container recreation to update the app. We do not recommend or support updating apps inside the container. Check the [Application Setup](#application-setup) section for recommendations for the specific image.\n\nInstructions for updating containers:\n\n### Via Docker Compose\n\n* Update all images: `docker-compose pull`\n  * or update a single image: `docker-compose pull semaphore`\n* Let compose update all containers as necessary: `docker-compose up -d`\n  * or update a single container: `docker-compose up -d semaphore`\n* You can also remove the old dangling images: `docker image prune`\n\n### Via Docker Run\n\n* Update the image: `docker pull ghcr.io/imagegenius/semaphore:latest`\n* Stop the running container: `docker stop semaphore`\n* Delete the container: `docker rm semaphore`\n* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)\n* You can also remove the old dangling images: `docker image prune`\n\n## Versions\n\n* **24.04.24:** - rebase to alpine 3.19\n* **28.04.23:** - Added rsync package.\n* **14.04.23:** - Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagegenius%2Fdocker-semaphore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagegenius%2Fdocker-semaphore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagegenius%2Fdocker-semaphore/lists"}