-
clone this repo and add your own
.env
using .env-example as a template -
run
docker compose --profile nginx up -d
to start only nginx -
run ./generate_https_certificates.sh to generate the certificates
-
run
docker compose --profile nginx down
to stop the nginx service after the certificates are generated -
run
docker compose --profile full-setup up -d
to start all services with https
-
run all services:
docker compose --profile full-setup up
-
stop all services:
docker compose --profile full-setup down
-
run required services to develop with npm:
docker compose --profile frontend-development up
-
stop required services to develop with npm:
docker compose --profile frontend-development down
./generate_https_certificates.sh: generate letsencrypt certificates with certbot container
./renew_https_certificates.sh: renew letsencrypt certificates with certbot container
./init_nginx: just for the nginx service defined in docker-compose.yml to dynamically generate the nginx configuration file depending if the certificates are available or not yet