This repository contains a few helpful examples for exploring Docker.
-
javascript- contains a client and server application using Node/Express and Vue3. This is an example of using Docker Compose to create a database container that can be used during local development. This project is also ready to use thedocker initcommand to add the Docker files to the server for deployment. -
js-docker- contains the same application that has been set up for deployment using Docker. This goes beyond thedocker initcommand by demonstrating a two-phase build process.
-
python- contains a client and server application using Poetry/Flask and Vue3. This is an example of using Docker Compose to create a database container that can be used during local development. This project is also ready to use thedocker initcommand to add the Docker files to the server for deployment. -
py-docker- contains the same application that has been set up for deployment using Docker. This goes beyond thedocker initcommand by demonstrating a two-phase build process.
-
deploy- this folder contains a sample deployment of these containers using Docker Compose, Traefik Proxy, Watchtower, and Docker Socket Proxy. Sample configurations are also included. -
.github/workflows- this contains a sample workflow to automatically generate releases and Docker containers when a semantic version tag (such asv0.1.2) is pushed to GitHub. It can also trigger a deployment via webhook to Watchtower.
Each subfolder has individual README.md files with more information.