summaryrefslogblamecommitdiffstats
path: root/docker-compose.yml
blob: c15518bdf86ef811c8200e0840a8cf02c4ac4c27 (plain) (tree)
1
2
3
4
5
6
7
8



              
                     

                     
                                




                       
                 

                     
                               












                                        
version: "3.7"

services:
  gitolite:
    build: "gitolite"
    restart: "always"
    volumes:
      - "data:/git/repositories"
      - "ssh:/hostkeys"
    ports:
      - "22:22"

  cgit:
    build: "cgit"
    restart: "always"
    volumes:
      - "data:/repositories:ro"
    networks:
      - "nginx-proxy-network"
    environment:
      VIRTUAL_HOST: "normalmode.org"
      LETSENCRYPT_HOST: "normalmode.org"

volumes:
  data:
  ssh:

networks:
  nginx-proxy-network:
    external: true