summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: e4f95f7fed47e694b7e0ca06b36309b06711ed2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3.7"

services:
  gitolite:
    build:
      context: "./docker"
      dockerfile: "Dockerfile.gitolite"
    restart: "always"
    volumes:
      - "data:/var/lib/gitolite"
      - "ssh:/hostkeys"
    ports:
      - "22:22"

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

volumes:
  data:
  ssh:

networks:
  nginx-proxy-network:
    external: true