anomaly / lab-tf-linode

Terraform templates to provision infrastructure and application on Linode, using just nodes through to Kubernetes and managed products e.g databases and object store.
Apache License 2.0
0 stars 0 forks source link

Provide a production docker-compose template for simpler applications #11

Open devraj opened 2 years ago

devraj commented 2 years ago

While we have a full blown Terraform and K8s template in the lab-tf-linode we should provide a template for simpler apps to be deployed via just docker. This would look very similar to the development setup where we manage various backends on the same node.

We would have:

devraj commented 2 years ago

Points to cover:

devraj commented 1 year ago

I prototyped these in the lab-python-server repository, which should then be merged into the Terraform templates, see:

While building for x86/64 platforms, be sure to provide --platform flag

docker build --platform=linux/amd64 -t anomalyhq/lab-python-:0.1.0 -f Dockerfile.prod .