diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 12 |
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: |