Docker-based system to deploy our infrastructure 🏗️
- Clone the repository
- Install dependencies with the
requirements.sh
script - Run
docker-compose up -d
- Clone, build & run all projects with
.utils/startall.sh
- Start services one per one
Add the service to the caddy network
networks:
caddynet:
external: true
And edit the conf/Caddyfile
to reverse proxy the service
This is an example of a docker-compose file for the homepage :
version: '3'
services:
web:
build: .
ports:
- "5000:80"
networks:
- caddynet
networks:
caddynet:
external: true
And the Caddyfile part :
openincubator.tech {
reverse_proxy localhost:5000
}
Take a look at the guide here