-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (42 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
48 lines (42 loc) · 1.01 KB
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
version: '3.8'
volumes:
mongodb_data:
driver: local
networks:
backend:
driver: bridge
services:
mongodb:
image : mongo
container_name: mongodb
environment:
MONGO_INITDB_DATABASE: switcher-gitops
volumes:
- mongodb_data:/data/db
ports:
- 27017:27017
networks:
- backend
restart: unless-stopped
switchergitops:
image: trackerforce/switcher-gitops
container_name: switchergitops
command: ["/app"]
ports:
- 8000:8000
networks:
- backend
environment:
- RELEASE_TIME=today
- PORT=8000
- LOG_LEVEL=DEBUG
- MONGO_URI=mongodb://mongodb:27017
- MONGO_DB=switcher-gitops
- GIT_TOKEN_PRIVATE_KEY=SecretSecretSecretSecretSecretSe
- HANDLER_WAITING_TIME=1m
- SWITCHER_API_URL=https://switcherapi.com/api
- SWITCHER_API_JWT_SECRET=SecretSecretSecretSecretSecretSe
- SWITCHER_PATH_GRAPHQL=/gitops-graphql
- SWITCHER_PATH_PUSH=/gitops/v1/push
depends_on:
- mongodb