This repository allows you to deploy applications running in Docker containers, with CDK for Terraform (CDKTF).
- a backend, in Go, that display a whale ^^
- a frontend, in NodeJS, that call the backend and ... display the whale :)
backend
and frontend
containers will run in a network named my_network
.
- Install cdktf CLI
Deploy our stack:
$ cdktf get
$ cdktf deploy
Check everything is corerctly deployed:
$ docker image ls
$ docker container ls
$ docker network ls
$ curl localhost:8000
Destroy your stack:
$ cdktf destroy