Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 1 | version: "3" |
| 2 | services: |
| 3 | nginx: |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame] | 4 | build: |
| 5 | context: . |
| 6 | dockerfile: nginx/Dockerfile |
Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 7 | env_file: environment |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 8 | ports: |
| 9 | - "80:80" |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame] | 10 | - "443:443" |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 11 | networks: |
| 12 | - simpleidnet |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame] | 13 | - gerritnet |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 14 | volumes: |
Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 15 | - ./simpleid/identities/:/var/db/simpleid-templates/:ro |
| 16 | - ./simpleid/www/:/var/www/simpleid/:ro |
| 17 | - ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf.template:ro |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 18 | - ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro |
| 19 | - ./logs/nginx:/var/log/nginx/:rw |
| 20 | simpleid: |
| 21 | build: |
| 22 | context: . |
| 23 | dockerfile: simpleid/Dockerfile |
Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 24 | env_file: environment |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 25 | networks: |
| 26 | - simpleidnet |
| 27 | volumes: |
| 28 | - ./simpleid/cache/:/var/cache/simpleid/:rw |
Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 29 | - ./simpleid/identities/:/var/db/simpleid-templates/:ro |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 30 | - ./simpleid/store/:/var/lib/simpleid/:rw |
Nico Huber | d652872 | 2023-07-01 14:38:39 +0000 | [diff] [blame] | 31 | - ./simpleid/www/:/var/www/simpleid/:ro |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 32 | - ./logs/simpleid/:/var/log/:rw |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame] | 33 | gerrit: |
| 34 | build: |
| 35 | context: . |
| 36 | dockerfile: gerrit/Dockerfile |
| 37 | env_file: gerrit/environment |
| 38 | environment: |
| 39 | - HTTPD_LISTEN_URL=proxy-https://*:8080/ |
| 40 | networks: |
| 41 | - gerritnet |
| 42 | volumes: |
| 43 | - ./logs/gerrit/:/var/gerrit/logs/:rw |
| 44 | - ./gerrit/etc/:/var/gerrit/etc/:rw |
| 45 | - ./gerrit/db/:/var/gerrit/db/:rw |
| 46 | - ./gerrit/git/:/var/gerrit/git/:rw |
| 47 | - ./gerrit/index/:/var/gerrit/index/:rw |
| 48 | - ./gerrit/cache/:/var/gerrit/cache/:rw |
Nico Huber | 5407310 | 2023-06-25 11:36:59 +0000 | [diff] [blame] | 49 | - ./gerrit/gerrit-oauth-provider.jar:/var/gerrit/plugins/gerrit-oauth-provider.jar:ro |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 50 | networks: |
| 51 | simpleidnet: |
| 52 | driver: bridge |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame] | 53 | gerritnet: |
| 54 | driver: bridge |