summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-09-16 12:56:17 -0400
committerMalfurious <m@lfurio.us>2023-09-16 12:56:17 -0400
commit4cc4870fd7c7e57379dc605d377bb2e6e09473ae (patch)
treef728327cfbf7a84cf9536002497f2bb12cda0767
parent77ae1784961d203d47c9db8736570a2d1e90f7b7 (diff)
downloadsrcnode-4cc4870fd7c7e57379dc605d377bb2e6e09473ae.tar.gz
srcnode-4cc4870fd7c7e57379dc605d377bb2e6e09473ae.zip
Update docker-compose.yml for new container definitions
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--docker-compose.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index e4f95f7..c15518b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,23 +2,19 @@ version: "3.7"
services:
gitolite:
- build:
- context: "./docker"
- dockerfile: "Dockerfile.gitolite"
+ build: "gitolite"
restart: "always"
volumes:
- - "data:/var/lib/gitolite"
+ - "data:/git/repositories"
- "ssh:/hostkeys"
ports:
- "22:22"
cgit:
- build:
- context: "./docker"
- dockerfile: "Dockerfile.cgit"
+ build: "cgit"
restart: "always"
volumes:
- - "data:/data:ro"
+ - "data:/repositories:ro"
networks:
- "nginx-proxy-network"
environment: