-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccbcf4f
commit 4fa90b2
Showing
10 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,54 @@ | ||
# vault-consul-swarm-cluster | ||
|
||
### Prerequisite: | ||
1. Docker | ||
2. Docker Swarm | ||
|
||
## Deploy Stack | ||
### Enable Docker Swarm locally | ||
``` | ||
docker swarm init | ||
``` | ||
|
||
### List Docker Swarm Node | ||
``` | ||
docker node ls | ||
``` | ||
|
||
### Deploy Stack | ||
``` | ||
env $(cat .env | grep ^[A-Z] | xargs) docker stack deploy -c stack.yml devops | ||
``` | ||
|
||
## Remove Stack | ||
### Remove Stack | ||
``` | ||
docker stack rm devops | ||
``` | ||
|
||
## List Docker Services | ||
### List Docker Services | ||
``` | ||
docker service ls | ||
``` | ||
|
||
## Access Vault UI | ||
### Access Vault UI | ||
``` | ||
open http://localhost:8200 | ||
``` | ||
|
||
## Access Consul UI | ||
 | ||
 | ||
 | ||
 | ||
|
||
### Access Consul UI | ||
``` | ||
open http://localhost:8500 | ||
``` | ||
 | ||
 | ||
|
||
|
||
### Static credential | ||
 | ||
|
||
### Dynamic credential | ||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.