forked from sorry-cypress/sorry-cypress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.build.yml
56 lines (51 loc) · 1.31 KB
/
docker-compose.build.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
version: '3.8'
services:
mongo:
image: mongo:4.4
director:
build:
dockerfile: packages/director/Dockerfile
context: .
image: agoldis/sorry-cypress-director:${VERSION:-latest}
environment:
DASHBOARD_URL: http://localhost:8080
MONGODB_URI: 'mongodb://mongo:27017'
MONGODB_DATABASE: 'sorry-cypress'
EXECUTION_DRIVER: '../execution/mongo/driver'
SCREENSHOTS_DRIVER: '../screenshots/s3.driver'
GITLAB_JOB_RETRIES: 'false'
AWS_ACCESS_KEY_ID: 'key'
AWS_SECRET_ACCESS_KEY: 'secret'
S3_BUCKET: sorry-cypress
PROBE_LOGGER: "false"
ports:
- 1234:1234
depends_on:
- mongo
api:
build:
dockerfile: packages/api/Dockerfile
context: .
image: agoldis/sorry-cypress-api:${VERSION:-latest}
environment:
MONGODB_URI: 'mongodb://mongo:27017'
MONGODB_DATABASE: 'sorry-cypress'
APOLLO_PLAYGROUND: 'false'
ports:
- 4000:4000
depends_on:
- mongo
dashboard:
build:
dockerfile: packages/dashboard/Dockerfile
context: .
image: agoldis/sorry-cypress-dashboard:${VERSION:-latest}
environment:
GRAPHQL_SCHEMA_URL: http://localhost:4000
GRAPHQL_CLIENT_CREDENTIALS: ''
PORT: 8080
CI_URL: ''
ports:
- 8080:8080
depends_on:
- api