diff options
Diffstat (limited to 'terminaldweller.com/cgit/docker-compose.yaml')
-rw-r--r-- | terminaldweller.com/cgit/docker-compose.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
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: |