Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yiplee/compose
https://github.com/yiplee/compose
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/yiplee/compose
- Owner: yiplee
- License: other
- Created: 2022-11-04T10:37:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T02:10:11.000Z (10 months ago)
- Last Synced: 2024-06-21T11:51:14.837Z (5 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Compose
Compose is a tool for defining and running multi commands. With Compose, you use a YAML file to configure your application's services. Then, with a single command, you create and start all the services from your configuration.
### Configure
Place compose.yaml in the working dir, then run ```compose``` to start the services.
```yaml
tasks:
service_1: # service name
cmds: sleep 5
service_2:
cmds: sleep 5
delay: 1s # delay before start
```### Systemd
Run ```compose systemd``` in the working dir to generate a systemd service file.