diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 34 |
1 files changed, 34 insertions, 0 deletions
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 |