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 | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 7 | ports: |
| 8 | - "80:80" |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame] | 9 | - "443:443" |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 10 | networks: |
| 11 | - simpleidnet |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame^] | 12 | - gerritnet |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 13 | volumes: |
| 14 | - ./simpleid/cache/:/var/cache/simpleid/:ro |
| 15 | - ./simpleid/identities/:/var/db/simpleid/:ro |
| 16 | - ./simpleid/store/:/var/lib/simpleid/:ro |
| 17 | - ./simpleid/www/:/var/www/html/:ro |
| 18 | - ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf:ro |
| 19 | - ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro |
| 20 | - ./logs/nginx:/var/log/nginx/:rw |
| 21 | simpleid: |
| 22 | build: |
| 23 | context: . |
| 24 | dockerfile: simpleid/Dockerfile |
| 25 | networks: |
| 26 | - simpleidnet |
| 27 | volumes: |
| 28 | - ./simpleid/cache/:/var/cache/simpleid/:rw |
| 29 | - ./simpleid/identities/:/var/db/simpleid/:ro |
| 30 | - ./simpleid/store/:/var/lib/simpleid/:rw |
| 31 | - ./simpleid/www/:/var/www/html/:ro |
| 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 | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 49 | networks: |
| 50 | simpleidnet: |
| 51 | driver: bridge |
Nico Huber | a1a296f | 2023-06-25 10:07:07 +0000 | [diff] [blame^] | 52 | gerritnet: |
| 53 | driver: bridge |