From 5cd2822ed607d1f20d1d114aebe511a4fe5f1825 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 12 Aug 2023 22:26:41 -0400 Subject: Configure via docker-compose Signed-off-by: Malfurious --- docker-compose.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e4f95f7 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,34 @@ +version: "3.7" + +services: + gitolite: + build: + context: "./docker" + dockerfile: "Dockerfile.gitolite" + restart: "always" + volumes: + - "data:/var/lib/gitolite" + - "ssh:/hostkeys" + ports: + - "22:22" + + cgit: + build: + context: "./docker" + dockerfile: "Dockerfile.cgit" + restart: "always" + volumes: + - "data:/data:ro" + networks: + - "nginx-proxy-network" + environment: + VIRTUAL_HOST: "normalmode.org" + LETSENCRYPT_HOST: "normalmode.org" + +volumes: + data: + ssh: + +networks: + nginx-proxy-network: + external: true -- cgit v1.2.3