Add POC ideas
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-06-30 21:10:52 +02:00
parent 1b900c740c
commit 6341d192f5
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 15 additions and 3 deletions

View File

@ -4,7 +4,19 @@
A swarm of dreams.
## Go Go Go No Docker
## Proof-of-concept
- [ ] List apps that are templated under https://git.autonomic.zone/compose-stacks
- [ ] Clone selected app template and parse configuration for inputs (env vars and secrets)
- [ ] Generate a form so those values can be filled out
- [ ] Save the form inputs to a `db.json`
- [ ] Deploy an applicaiton to a local swarm (assumes access to local docker socket)
- [ ] Create an "edit app" page where the `db.json` is re-called and can be updated
- [ ] Make sure re-deploy works (taking care of updating secret and app versions)
## Run It
### Go Go Go No Docker
```bash
$ python3 -m venv .venv && source .venv/bin/activate
@ -12,14 +24,14 @@ $ pip install -r requirements.txt
$ make python-run
```
## Go Go Go Yes Docker
### Go Go Go Yes Docker
```bash
$ make docker-build
$ make docker-run
```
## Go Go Go Yes Docker Compose
### Go Go Go Yes Docker Compose
```bash
$ pip install "docker-compose>=1.26.0,<2"