From 68e3be1f591e40925b4c5c3f57aee8d4e260ebbf Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 13 Sep 2022 22:02:12 +0430 Subject: update --- terminaldweller.com/cgit/docker-compose.yaml | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 terminaldweller.com/cgit/docker-compose.yaml (limited to 'terminaldweller.com/cgit/docker-compose.yaml') diff --git a/terminaldweller.com/cgit/docker-compose.yaml b/terminaldweller.com/cgit/docker-compose.yaml new file mode 100644 index 0000000..4635764 --- /dev/null +++ b/terminaldweller.com/cgit/docker-compose.yaml @@ -0,0 +1,30 @@ +version: "3" +services: + cgit: + image: cgit + build: + context: ./cgit/ + networks: + - cgitnet + ports: + - "8040:8080" + restart: unless-stopped + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + - ./cgitrc:/etc/cgitrc:ro + - storage:/etc/gitrepos/ + bootstrap: + image: bootstrap + build: + context: ./bootstrap + networks:bootstrapnet + volumes: + - storage:/etc/gitrepos/ + entrypoint: ["/docker-entrypoint.sh"] + cap_drop: + - ALL +networks: + cgitnet: + bootstrapnet: +volumes: + storage: -- cgit v1.2.3