-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci-compose.yml
106 lines (106 loc) · 2.56 KB
/
ci-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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
services:
postgres:
image: postgres:latest
ports:
- "5434:5432"
volumes:
- db_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=admin
- POSTGRES_USER=admin
mongodb:
image: mongodb/mongodb-community-server:latest
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=admin
maildev:
image: maildev/maildev
ports:
- "1080:1080"
- "1025:1025"
usernator:
build: ./usernator
ports:
- "3001:3000"
- "3004:3001"
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_USERNAME=admin
- DB_PASSWORD=admin
- DB_DATABASE=usernator
- SMTP_HOST=maildev
- SMTP_PORT=1025
- SMTP_PASSWORD=cc
- TASKY_ADDR=tasky:3001
- TEMPLATE_BASE_URL=http://localhost:3000/web
depends_on:
- postgres
- maildev
restart: on-failure
authy:
build:
context: ./authy
ports:
- "3002:3000"
environment:
- JWT_SECRET=secret
- WHITELIST=["/usernator/reset_password","/usernator/submit_password","/usernator/register","/executor_ui/_next"]
- SERVICE_LOCATIONS={usernator="http://usernator:3000", tasky="http://tasky:3000", executor_ui="http://executor_ui:8100"}
depends_on:
- usernator
- tasky
restart: on-failure
tasky:
build:
context: ./tasky
ports:
- "3005:3000"
- "3006:3001"
environment:
- DB_NAME=tasky
- DB_USERNAME=admin
- DB_PASSWORD=admin
- DB_HOST=postgres:5432
- USERNATOR_GRPC=http://usernator:3001
- MONGO_HOST="mongodb:27017"
- MONGO_USERNAME=admin
- MONGO_PASSWORD=admin
- MONGO_DATABASE=executor_files
- EXECUTOR_HTTP=http://executor:8000
depends_on:
- usernator
- postgres
restart: on-failure
executor:
build: ./executor
ports:
- "3003:8000"
environment:
- DATABASE_USERNAME=admin
- DATABASE_PASSWORD=admin
- DATABASE_HOST=postgres
- DATABASE_PORT=5432
- DATABASE_NAME=executor
- MONGODB_USERNAME=admin
- MONGODB_PASSWORD=admin
- MONGODB_HOST=mongodb:27017
- MONGODB_DATABASE=executor_files
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- postgres
restart: on-failure
executor_ui:
image: runabol/tork-web
ports:
- "3007:8100"
environment:
- BACKEND_URL=http://executor:8000
depends_on:
- executor
volumes:
db_data: