In this PR I added production configuration with docker-compose.
So to start the production run make start-prod
Make snippets
I added snippets for production
make start-prod
make logs-prod
make stop-prod
make remove-prod
Dockerfiles
I created dockerfiles for production. These images are later built on Github Actions and pushed to Docker Hub. We will use different images for production and development since development images will store all the code and dependencies in the volume.
Multi-arch
I've set up multi-arch pipeline for building the docker images. It's a little tricky, hence this is an experimental feature of docker. Currently, it will build for 4 architectures: amd64, i386, arm64, armv7
In this PR I added production configuration with docker-compose.
So to start the production run
make start-prod
Make snippets
I added snippets for production
Dockerfiles
I created dockerfiles for production. These images are later built on Github Actions and pushed to Docker Hub. We will use different images for production and development since development images will store all the code and dependencies in the volume.
Multi-arch
I've set up multi-arch pipeline for building the docker images. It's a little tricky, hence this is an experimental feature of docker. Currently, it will build for 4 architectures:
amd64, i386, arm64, armv7