Repository contains example application with PaaS, SaaS & IaaS
Repo contain IAC to deploy todo-app in different environment
Deployment using docker-compose
Install
$ docker-compose --env-file=env/<env>/Docker.env up -d
# Override default docker-compose configuration
$ docker-compose --env-file=env/<env>/Docker.env -f docker-compose.yaml -f env/<env>/docker-compose-override.yml up -d
Access
http://localhost:8081 # get access_token
http://localhost:8080/webjars/swagger-ui/index.html # use access_token to access the API(s)
Uninstall
$ docker-compose down
Configuration
The following table lists the configurable parameters of the TodoApp swarm cluster and their default values.
Parameter | Description | Default
—- | —- | —-
TODO_IMAGE
| Image tag for Todo-App | `EDGE_SERVICE_IMAGE` | Image tag for Edge Service |
CONFIG_SERVER_IMAGE
| Image tag for Config Server | `MONGO_DATA_SRC_PATH` | Host path for persistence mongo data |
On swarm cluster using docker stack
Swarm