-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
57 lines (53 loc) · 1.17 KB
/
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
49
50
51
52
53
54
55
56
57
services:
gitclub:
build:
context: services/gitclub
dockerfile: Dockerfile
depends_on:
- postgres
- oso
ports:
- "5000:5000"
environment:
- OSO_AUTH=e_0123456789_12345_osotesttoken01xiIn
- OSO_URL=http://oso:8081
- PRODUCTION_DB=1
- DATABASE_URL=postgresql://oso:password@postgres:5432/gitcloud
jobs:
build:
context: services/jobs
dockerfile: Dockerfile
ports:
- "5001:5001"
depends_on:
- oso
environment:
- OSO_AUTH=e_0123456789_12345_osotesttoken01xiIn
- OSO_URL=http://oso:8081
oso:
build:
dockerfile: Dockerfile.oso
ports:
- "8081:8081"
environment:
- OSO_AUTH=e_0123456789_12345_osotesttoken01xiIn
- OSO_URL=http://localhost:8081
postgres:
image: postgres:14-alpine
ports:
- 5433:5432
volumes:
- ./gitcloud-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER=oso
- POSTGRES_DB=gitcloud
frontend:
build:
context: frontend
dockerfile: Dockerfile
ports:
- "8000:8000"
depends_on:
- gitclub
- jobs