blob: 3409510999f4b7e4c8a4a256f86781aa05a1d93d [file] [log] [blame]
Nico Huberd6528722023-07-01 14:38:39 +00001Create environment files (cf. `git ls-files \*environment.template`):
2* Set SA_PUBLIC_DOMAIN_NAME in `environment`
Nico Hubera1a296f2023-06-25 10:07:07 +00003* Set CANONICAL_WEB_URL in `gerrit/environment`
Nico Huber54073102023-06-25 11:36:59 +00004* Enable GitHub OAUTH in `gerrit/environment`
Nico Huber59c365c2023-07-01 18:18:12 +00005
Nico Huberaa15aee2023-07-01 22:35:45 +00006To build:
7* nginx first because it creates selfsigned certificate `docker-compose build nginx`
8* then everything else `docker-compose build`
9
Nico Huber59c365c2023-07-01 18:18:12 +000010Get containers up:
11* `docker-compose up`
Nico Huber15edd772023-07-01 18:16:50 +000012
Nico Huber804b41b2023-07-02 15:53:42 +000013Mail setup:
14* A 'gerrit@' mail account will be added automatically
15* See `docker-compose exec mailserver setup` for more
16* Add account or alias for 'postmaster@'
17
Nico Huber15edd772023-07-01 18:16:50 +000018When the containers are up run `certbot`:
19* Once `docker-compose -f sa-certbot.yml run new`
20* Every x < 30 days `docker-compose -f sa-certbot.yml run renew`
21* Always reload nginx `docker-compose exec nginx nginx -s reload`