Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 1 | Create environment files (cf. `git ls-files \*environment.template`): |
| 2 | * Set SA_PUBLIC_DOMAIN_NAME in `environment` |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame] | 3 | * Set CANONICAL_WEB_URL in `gerrit/environment` |
Nico Huber | 5407310 | 2023-06-25 11:36:59 +0000 | [diff] [blame] | 4 | * Enable GitHub OAUTH in `gerrit/environment` |
Nico Huber | 59c365c | 2023-07-01 18:18:12 +0000 | [diff] [blame] | 5 | |
Nico Huber | aa15aee | 2023-07-01 22:35:45 +0000 | [diff] [blame] | 6 | To build: |
| 7 | * nginx first because it creates selfsigned certificate `docker-compose build nginx` |
| 8 | * then everything else `docker-compose build` |
| 9 | |
Nico Huber | 59c365c | 2023-07-01 18:18:12 +0000 | [diff] [blame] | 10 | Get containers up: |
| 11 | * `docker-compose up` |
Nico Huber | 15edd77 | 2023-07-01 18:16:50 +0000 | [diff] [blame] | 12 | |
| 13 | When the containers are up run `certbot`: |
| 14 | * Once `docker-compose -f sa-certbot.yml run new` |
| 15 | * Every x < 30 days `docker-compose -f sa-certbot.yml run renew` |
| 16 | * Always reload nginx `docker-compose exec nginx nginx -s reload` |