-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (47 loc) · 948 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
gitolite:
image: jgiannuzzi/gitolite
ports:
- 22:22
volumes:
- gitolite-sshkeys:/etc/ssh/keys
- gitolite-git:/var/lib/git
environment:
- SSH_KEY
postgres:
image: postgres:latest
restart: always
environment:
- POSTGRES_PASSWORD
- POSTGRES_DB=giz
volumes:
- db:/var/lib/postgresql/data
giz:
build: .
logging:
driver: "json-file"
options:
max-size: "10k"
max-file: "1"
environment:
- DEBUG=True
- GITOLITE_HOST=gitolite
- GITOLITE_PORT=22
- GITOLITE_KEY
- POSTGRES_PASSWORD
- SECRET_KEY
depends_on:
- gitolite
- postgres
ports:
- 8000:8000
volumes:
- ./giz:/usr/share/www
- gitolite-sshkeys:/root/keys:ro
- gitolite-git:/usr/share/git:ro
- static:/usr/share/giz/static
volumes:
gitolite-sshkeys:
gitolite-git:
static:
db: