Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame] | 1 | To build: |
| 2 | * nginx first because it creates selfsigned certificate: |
Nico Huber | 59c365c | 2023-07-01 18:18:12 +0000 | [diff] [blame^] | 3 | docker-compose build --build-arg SELFSIGNED_REQ_HOST=hostname nginx |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame] | 4 | - optionally: --build-arg SELFSIGNED_REQ_ALT_NAMES="DNS:name1 ..." |
Nico Huber | 59c365c | 2023-07-01 18:18:12 +0000 | [diff] [blame^] | 5 | * docker-compose build --build-arg SELFSIGNED_REQ_HOST=hostname |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame] | 6 | - same build-args! |
| 7 | |
Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 8 | Create environment files (cf. `git ls-files \*environment.template`): |
| 9 | * Set SA_PUBLIC_DOMAIN_NAME in `environment` |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame] | 10 | * Set CANONICAL_WEB_URL in `gerrit/environment` |
Nico Huber | 5407310 | 2023-06-25 11:36:59 +0000 | [diff] [blame] | 11 | * Enable GitHub OAUTH in `gerrit/environment` |
Nico Huber | 59c365c | 2023-07-01 18:18:12 +0000 | [diff] [blame^] | 12 | |
| 13 | Get containers up: |
| 14 | * `docker-compose up` |