blob: c0b18ac2c309728895cf880cde03ad17f5385527 [file] [log] [blame]
Create environment files (cf. `git ls-files \*environment.template`):
* Set SA_PUBLIC_DOMAIN_NAME in `environment`
* Set CANONICAL_WEB_URL in `gerrit/environment`
* Enable GitHub OAUTH in `gerrit/environment`
To build:
* nginx first because it creates selfsigned certificate `docker-compose build nginx`
* then everything else `docker-compose build`
Get containers up:
* `docker-compose up`
When the containers are up run `certbot`:
* Once `docker-compose -f sa-certbot.yml run new`
* Every x < 30 days `docker-compose -f sa-certbot.yml run renew`
* Always reload nginx `docker-compose exec nginx nginx -s reload`