Semaphore/README.md

88 lines
5.0 KiB
Markdown
Raw Normal View History

2024-09-28 00:14:47 +02:00
# Semaphore UI
2016-01-20 20:31:50 +01:00
2024-09-28 01:14:15 +02:00
Modern UI for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools.
2024-09-26 22:34:19 +02:00
[![telegram](https://img.shields.io/badge/discord_community-skyblue?style=for-the-badge&logo=discord)](https://discord.gg/5R6k7hNGcH)
2024-06-20 08:30:53 +02:00
[![telegram](https://img.shields.io/badge/youtube_channel-red?style=for-the-badge&logo=youtube)](https://www.youtube.com/@semaphoreui)
2024-09-28 01:15:27 +02:00
<!-- [![docker](https://img.shields.io/badge/container_configurator-white?style=for-the-badge&logo=docker)](https://semaphoreui.com/install/docker/) -->
2021-09-22 21:45:11 +02:00
2021-09-25 17:43:57 +02:00
![responsive-ui-phone1](https://user-images.githubusercontent.com/914224/134777345-8789d9e4-ff0d-439c-b80e-ddc56b74fcee.png)
2024-09-28 04:36:33 +02:00
If your project has grown and deploying from the terminal is no longer feasible, then Semaphore UI is the tool you need.
2024-09-28 00:16:14 +02:00
2024-09-28 01:14:15 +02:00
## Live Demo
2020-10-03 18:18:33 +02:00
2024-09-28 04:36:33 +02:00
Try the latest version of Semaphore at [https://cloud.semaphoreui.com](https://cloud.semaphoreui.com).
2022-09-09 20:51:16 +02:00
2024-09-28 04:36:33 +02:00
## What is Semaphore UI?
2024-10-05 11:10:29 +02:00
Semaphore UI is a modern web interface for managing popular DevOps tools.
2021-02-25 08:39:59 +01:00
2024-09-28 04:36:33 +02:00
Semaphore UI allows you to:
* Easily run Ansible playbooks, Terraform and OpenTofu code, as well as Bash and PowerShell scripts.
* Receive notifications about failed tasks.
* Control access to your deployment system.
## Key Concepts
2024-09-28 06:19:44 +02:00
1. **Projects** is a collection of related resources, configurations, and tasks. Each project allows you to organize and manage your automation efforts in one place, defining the scope of tasks such as deploying applications, running scripts, or orchestrating cloud resources. Projects help group resources, inventories, task templates, and environments for streamlined automation workflows.
2. **Task Templates** are reusable definitions of tasks that can be executed on demand or scheduled. A template specifies what actions should be performed, such as running Ansible playbooks, Terraform configurations, or other automation tasks. By using templates, you can standardize tasks and easily re-execute them with minimal effort, ensuring consistent results across different environments.
3. **Task** is a specific instance of a job or operation executed by Semaphore. It refers to running a predefined action (like an Ansible playbook or a script) using a task template. Tasks can be initiated manually or automatically through schedules and are tracked to give you detailed feedback on the execution, including success, failure, and logs.
4. **Schedules** allow you to automate task execution at specified times or intervals. This feature is useful for running periodic maintenance tasks, backups, or deployments without manual intervention. You can configure recurring schedules to ensure important automation tasks are performed regularly and on time.
5. **Inventory** is a collection of target hosts (servers, virtual machines, containers, etc.) on which tasks will be executed. The inventory includes details about the managed nodes such as IP addresses, SSH credentials, and grouping information. It allows for dynamic control over which environments and hosts your automation will interact with.
6. **Environment** refers to a configuration context that holds sensitive information such as environment variables and secrets used by tasks during execution. It separates sensitive data from task templates and allows you to switch between different setups while running the same task template across different environments securely.
2024-09-28 01:14:15 +02:00
## Getting Started
2024-09-28 04:36:33 +02:00
You can install Semaphore using the following methods:
2024-09-28 01:14:15 +02:00
* Docker
2024-09-28 04:36:33 +02:00
* SaaS ([Semaphore Cloud](https://cloud.semaphoreui.com))
* Deploy a VM from a marketplace (AWS, DigitalOcean, etc.)
2024-09-28 01:14:15 +02:00
* Snap
* Binary file
* Debian or RPM package
### Docker
2024-09-28 04:36:33 +02:00
2024-09-28 06:36:15 +02:00
The most popular way to install Semaphore is via Docker.
2024-09-28 01:14:15 +02:00
2024-09-28 06:34:53 +02:00
```
docker run -p 3000:3000 --name semaphore \
-e SEMAPHORE_DB_DIALECT=bolt \
-e SEMAPHORE_ADMIN=admin \
-e SEMAPHORE_ADMIN_PASSWORD=changeme \
-e SEMAPHORE_ADMIN_NAME=Admin \
-e SEMAPHORE_ADMIN_EMAIL=admin@localhost \
-d semaphoreui/semaphore:latest
```
2024-09-28 06:36:15 +02:00
We recommend using the [Container Configurator](https://semaphoreui.com/install/docker/) to get the ideal Docker configuration for Semaphore.
2024-09-28 06:34:53 +02:00
2024-09-28 01:14:15 +02:00
### SaaS
2024-09-28 04:36:33 +02:00
We offer a SaaS solution for using Semaphore UI without installation. Check it out at [Semaphore Cloud](https://cloud.semaphoreui.com).
2024-09-28 01:14:15 +02:00
### Deploy VM from Marketplace
2024-09-28 04:36:33 +02:00
Supported cloud providers:
2024-09-28 01:14:15 +02:00
* [Semaphore Run](https://cloud.semaphore.run/servers/new/semaphore)
* [AWS](https://aws.amazon.com/marketplace/pp/prodview-5noeat2jipwca)
* [Yandex Cloud](https://yandex.cloud/en-ru/marketplace/products/fastlix/semaphore)
2024-09-28 04:36:33 +02:00
* DigitalOcean (coming soon)
### Other Installation Methods
2024-09-28 01:14:15 +02:00
2024-09-28 04:36:33 +02:00
For more installation options, visit our [Installation page](https://semaphoreui.com/install).
2021-02-25 08:39:59 +01:00
2024-09-28 04:36:33 +02:00
## Documentation
2021-09-25 13:01:57 +02:00
2024-09-28 04:36:33 +02:00
* [User Guide](https://docs.semaphoreui.com)
* [API Reference](https://semaphoreui.com/api-docs)
2021-09-25 13:01:57 +02:00
2024-09-28 01:14:15 +02:00
## License
MIT © [Denis Gukov](https://github.com/fiftin)
2024-09-26 20:34:25 +02:00
[![patreon](https://img.shields.io/badge/become_a_patreon-teal?style=for-the-badge&logo=patreon)](https://www.patreon.com/semaphoreui)
[![ko-fi](https://img.shields.io/badge/buy_me_a_coffee-pink?style=for-the-badge&logo=kofi)](https://ko-fi.com/fiftin)