forked from freiheit-com/kuberpult
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-earthly.yml
49 lines (49 loc) · 1.75 KB
/
docker-compose-earthly.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
services:
cd-service:
image: europe-west3-docker.pkg.dev/fdc-public-docker-registry/kuberpult/kuberpult-cd-service:local
environment:
- LOG_LEVEL=INFO
- KUBERPULT_GIT_URL=/kp/kuberpult/repository_remote
- KUBERPULT_GIT_BRANCH=master
- KUBERPULT_GIT_NETWORK_TIMEOUT=3s
- KUBERPULT_DEX_MOCK=false
- KUBERPULT_DEX_ENABLED=false
ports:
- "8080:8080"
- "8443:8443"
volumes:
- ./services/cd-service:/kp/kuberpult
stop_grace_period: 0.5s
frontend-service:
image: europe-west3-docker.pkg.dev/fdc-public-docker-registry/kuberpult/kuberpult-frontend-service:local
# Note: this `container_name` needs to be the same as in `package.json`
container_name: kuberpult-frontend-service
environment:
- KUBERPULT_CDSERVER=cd-service:8443
- KUBERPULT_HTTP_CD_SERVER=http://cd-service:8080
- LOG_LEVEL=INFO
- KUBERPULT_ALLOWED_ORIGINS=localhost:*
- KUBERPULT_GIT_AUTHOR_NAME=user-local-dev-docker-compose
- KUBERPULT_ARGOCD_BASE_URL=https://cd.dev.freiheit.systems/
- KUBERPULT_SOURCE_REPO_URL=https://github.com/freiheit-com/kuberpult/commit/{commit}
- KUBERPULT_MANIFEST_REPO_URL=https://github.com/freiheit-com/fdc-standard-setup-dev-env-manifest/tree/{branch}/{dir}
- KUBERPULT_GIT_BRANCH=main
ports:
- "8081:8081"
depends_on:
- cd-service
volumes:
- .:/kp/kuberpult
stop_grace_period: 0.5s
ui:
image: ui:local
container_name: kuberpult-ui
ports:
- "3000:3000"
depends_on:
- frontend-service
volumes:
- ./services/frontend-service/src:/kp/src
- ./services/frontend-service/public:/kp/public
stop_grace_period: 0.5s