-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
70 lines (59 loc) · 1.32 KB
/
docker-compose.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
app:
image: ciccd/app
build:
context: ./
dockerfile: packages/app/Dockerfile
# these must be provided by setting a .env file in the root folder
args:
- GITHUB_TOKEN=${GITHUB_TOKEN}
target: dev
volumes:
- .:/app
env_file: ./packages/app/.env
environment:
- DOCKER_BUILDKIT=1
- GITHUB_TOKEN
- JIRA_USER
- JIRA_PASSWORD
ports:
- "3000:3000"
ciccd-service:
image: ciccd/ciccd-service
build:
context: ./
dockerfile: packages/ciccd-service/Dockerfile
target: dev
env_file: ./.env
environment:
- DOCKER_BUILDKIT=1
- GITHUB_TOKEN
- GCP_PROJECT
- PORT=8080
ports:
- "8080:8080"
volumes:
- .:/app
- ${HOME}/.config/gcloud:/root/.config/gcloud
notification-service:
image: ciccd/notification-service
build:
context: ./
dockerfile: packages/notification-service/Dockerfile
target: dev
env_file: ./.env
environment:
- DOCKER_BUILDKIT=1
- GITHUB_TOKEN
- GCP_PROJECT
- PORT=8081
ports:
- "8081:8081"
volumes:
- .:/app
- ${HOME}/.config/gcloud:/root/.config/gcloud
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M