forked from apptension/saas-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.ci.yml
44 lines (41 loc) · 1.35 KB
/
docker-compose.ci.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
version: "3.4"
services:
backend:
volumes:
- ./packages/backend/cov:/app/cov
- ./packages/backend/docs:/app/docs
environment:
- CI=true
build:
args:
- BACKEND_BASE_IMAGE=${BACKEND_BASE_IMAGE}
workers:
volumes:
- ./packages/webapp-libs/webapp-emails/build/email-renderer/:/app/packages/workers/emails/renderer
- ./packages/workers/cov:/app/packages/workers/cov
environment:
- CI=true
- PROJECT_NAME=${PROJECT_NAME}
- ENV_STAGE=${ENV_STAGE}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
- AWS_SECURITY_TOKEN=${AWS_SECURITY_TOKEN}
- AWS_SESSION_EXPIRATION=${AWS_SESSION_EXPIRATION}
build:
args:
- WORKERS_BASE_IMAGE=${WORKERS_BASE_IMAGE}
e2e-tests:
environment:
- PROJECT_NAME=${PROJECT_NAME}
- ENV_STAGE=${ENV_STAGE}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
- AWS_SECURITY_TOKEN=${AWS_SECURITY_TOKEN}
- AWS_SESSION_EXPIRATION=${AWS_SESSION_EXPIRATION}
build:
args:
- E2E_TESTS_BASE_IMAGE=${E2E_TESTS_BASE_IMAGE}