Add Gerrit behind reverse-proxy
diff --git a/sourcearcade.yml b/sourcearcade.yml
index bff1826..2e3d279 100644
--- a/sourcearcade.yml
+++ b/sourcearcade.yml
@@ -9,6 +9,7 @@
- "443:443"
networks:
- simpleidnet
+ - gerritnet
volumes:
- ./simpleid/cache/:/var/cache/simpleid/:ro
- ./simpleid/identities/:/var/db/simpleid/:ro
@@ -29,6 +30,24 @@
- ./simpleid/store/:/var/lib/simpleid/:rw
- ./simpleid/www/:/var/www/html/:ro
- ./logs/simpleid/:/var/log/:rw
+ gerrit:
+ build:
+ context: .
+ dockerfile: gerrit/Dockerfile
+ env_file: gerrit/environment
+ environment:
+ - HTTPD_LISTEN_URL=proxy-https://*:8080/
+ networks:
+ - gerritnet
+ volumes:
+ - ./logs/gerrit/:/var/gerrit/logs/:rw
+ - ./gerrit/etc/:/var/gerrit/etc/:rw
+ - ./gerrit/db/:/var/gerrit/db/:rw
+ - ./gerrit/git/:/var/gerrit/git/:rw
+ - ./gerrit/index/:/var/gerrit/index/:rw
+ - ./gerrit/cache/:/var/gerrit/cache/:rw
networks:
simpleidnet:
driver: bridge
+ gerritnet:
+ driver: bridge