Skip to content

scraly/cdktf-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdktf-docker

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.

Prerequisites

  • Install cdktf CLI

Docker

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages