-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
27 lines (27 loc) · 966 Bytes
/
docker-compose.yml
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
version: '2'
services:
gitreceive:
build:
context: .
ports:
- "2222:22"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- PAUS_BASE_DOMAIN=pausapp.com
- PAUS_DOCKER_HOST=unix:https:///var/run/docker.sock
- PAUS_ETCD_ENDPOINT=http:https://etcd:2379
- PAUS_MAX_APP_DEPLOY=2
- PAUS_REPOSITORY_DIR=/repos
- PAUS_URI_SCHEME=http
gitreceive-upload-key:
extends: gitreceive
volumes_from:
- gitreceive
entrypoint: /usr/local/bin/upload-key
etcd:
image: quay.io/coreos/etcd:v2.3.6
command: -name etcd0 -advertise-client-urls http:https://0.0.0.0:2379,http:https://0.0.0.0:4001 -listen-client-urls http:https://0.0.0.0:2379,http:https://0.0.0.0:4001 -initial-advertise-peer-urls http:https://0.0.0.0:2380 -listen-peer-urls http:https://0.0.0.0:2380 -initial-cluster-token etcd-cluster-1 -initial-cluster etcd0=http:https://0.0.0.0:2380 -initial-cluster-state new
ports:
- 2379:2379
- 4001:4001