54bf6bbbe0eab9d43f1254f8d517fd8146ed334a
myos - Make Your Own Stack
Docker paas based on docker compose files.
Disclaimer
This is work in progress ;)
Requirements
You need docker, git and make.
Usage
Examples
- Configure myos for domain
domain.tldand stackzen
$ make bootstrap DOMAIN=domain.tld STACK=zen
- Start myos stacks
$ make node up
make node starts the stack node with docker host services :
- consul (service discovery)
- fabio (load balancer)
- ipfs (inter planetary file system)
- registrator (docker/consul bridge)
make upstarts the stackzenwith docker services : - ipfs (mount ~/.ipfs)
- zen (mount ~/.zen)
- Stop myos
$ make shutdown
- Install myos
$ make install
Install myos on a server and manage server config with ansible.
Variables
- DEBUG
Show executed commands
$ make up DEBUG=true
- DRYRUN
Do nothing, show commands instead of executing it
$ make up DRYRUN=true
- VERBOSE
Show called functions
$ make up VERBOSE=true
- Show variable VARIABLE
$ make print-VARIABLE
Debug
- Show docker compose yaml config
$ make config
make config show docker compose yaml config for stack STACK
make node-config show docker compose yaml config for stack node
make user-config show docker compose yaml config for stack User
make stack-elastic-config show docker compose yaml config for stack elastic
- Show debug variables
$ make debug
- Generate self documentation
$ make doc
- Show env args
$ make print-env_args
Status
Beta software, use it at your own risks.
Languages
Makefile
88.1%
Shell
7.9%
Dockerfile
4%