From 4cc4870fd7c7e57379dc605d377bb2e6e09473ae Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 16 Sep 2023 12:56:17 -0400 Subject: Update docker-compose.yml for new container definitions Signed-off-by: Malfurious --- docker-compose.yml | 12 ++++-------- 1 file 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: -- cgit v1.2.3