-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-compose.yml
More file actions
90 lines (90 loc) · 2.72 KB
/
sample-compose.yml
File metadata and controls
90 lines (90 loc) · 2.72 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
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
services:
postgres:
image: postgres:latest
ports:
volumes:
- db_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=<PG_ROOT_USERNAME>
- POSTGRES_USER=<PG_ROOT_PASSWORD>
mongodb:
image: mongodb/mongodb-community-server:8.0.1-ubuntu2204
volumes:
- mongodb_data:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=<MONGODB_ROOT_USERNAME>
- MONGO_INITDB_ROOT_PASSWORD=<MONGODB_ROOT_PASSWORD>
maildev:
image: maildev/maildev
usernator:
image: ghcr.io/mathisburger/codecanvas-usernator:<RELEASE_VERSION>
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_USERNAME=<PG_USERNATOR_USERNAME>
- DB_PASSWORD=<PG_USERNATOR_PASSWORD>
- DB_DATABASE=<PG_USERNATOR_DATABASE>
- SMTP_HOST=maildev
- SMTP_PORT=1025
- SMTP_USERNAME=app@code-canvas.app
- SMTP_PASSWORD=cc
- TASKY_ADDR=tasky:3001
- TEMPLATE_BASE_URL=<PUBLIC_WEB_ADDR>
depends_on:
- postgres
- maildev
authy:
image: ghcr.io/mathisburger/codecanvas-authy:<RELEASE_VERSION>
ports:
- "3002:3000"
environment:
- JWT_SECRET=<JWT_SECRET>
- WHITELIST=["/usernator/reset_password","/usernator/submit_password","/usernator/register","/executor_ui/_next"]
- SERVICE_LOCATIONS={usernator="http://usernator:3000", tasky="http://tasky:3000"}
depends_on:
- usernator
- tasky
tasky:
image: ghcr.io/mathisburger/codecanvas-tasky:<RELEASE_VERSION>
environment:
- DB_NAME=<PG_TASKY_NAME>
- DB_USERNAME=<PG_TASKY_USERNAME>
- DB_PASSWORD=<PG_TASKY_PASSWORD>
- DB_HOST=postgres:5432
- USERNATOR_GRPC=http://usernator:3001
- MONGO_HOST="mongodb:27017"
- MONGO_USERNAME=<MONGO_TASKY_USERNAME>
- MONGO_PASSWORD=<MONGO_TASKY_PASSWORD>
- MONGO_DATABASE=executor_files
- EXECUTOR_HTTP=http://executor:8000
depends_on:
- usernator
- postgres
executor:
image: ghcr.io/mathisburger/codecanvas-tasky:<RELEASE_VERSION>
environment:
- DATABASE_USERNAME=<PG_EXECUTOR_USERNAME>
- DATABASE_PASSWORD=<PG_EXECUTOR_PASSWORD>
- DATABASE_HOST=postgres
- DATABASE_PORT=5432
- DATABASE_NAME=<PG_EXECUTOR_DATABASE>
- MONGODB_USERNAME=<MONGODB_EXECUTOR_USERNAME>
- MONGODB_PASSWORD=<MONGODB_EXECUTOR_PASSWORD>
- MONGODB_HOST=mongodb:27017
- MONGODB_DATABASE=executor_files
- TASKY_GRPC_ADDR=tasky:3001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- postgres
executor_ui:
image: runabol/tork-web
ports:
- "3007:8100"
environment:
- BACKEND_URL=http://executor:8000
depends_on:
- executor
volumes:
db_data:
mongodb_data: