samjeston / openhub Public
Sam Jeston Working vertical 9aa3c45 · History
21 lines· 670 Bytes ·YAML
Raw
1services:
2 openhub:
3 build: .
4 image: openhub:latest
5 restart: unless-stopped
6 ports:
7 - "3000:3000" # web interface and read-only git over HTTP
8 - "2222:2222" # git over SSH
9 environment:
10 # The URL people use to reach the web interface (used for links and clone URLs).
11 OPENHUB_PUBLIC_URL: "http://localhost:3000"
12 # Host and port shown in SSH clone URLs, if they differ from the above.
13 # OPENHUB_SSH_HOST: "git.example.com"
14 # OPENHUB_SSH_PORT: "2222"
15 # Turn off sign-ups once your accounts exist.
16 # OPENHUB_DISABLE_REGISTRATION: "true"
17 volumes:
18 - openhub-data:/data
19
20volumes:
21 openhub-data: