-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.e2e.yml
56 lines (50 loc) · 1.48 KB
/
docker-compose.e2e.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: '2.3'
services:
frontend:
environment:
- 'KITSPACE_PROCESSOR_ASSET_URL=http://processor-bucket.kitspace-minio.test:3000/${KITSPACE_PROCESSOR_ASSET_VERSION}'
# blank means it will use '/' i.e. the next.js server
- 'KITSPACE_FRONTEND_ASSET_URL='
volumes:
- /etc/hosts:/etc/hosts:ro
e2e:
build:
context: e2e
environment:
- CYPRESS_RECORD_KEY=${CYPRESS_RECORD_KEY}
- GITHUB_TOKEN=${GITHUB_TOKEN}
- group=${group}
- browser=${browser}
- BUILD_ID=${BUILD_ID}
- COMMIT_INFO_MESSAGE=${COMMIT_INFO_MESSAGE}
- COMMIT_INFO_EMAIL=${COMMIT_INFO_EMAIL}
- COMMIT_INFO_AUTHOR=${COMMIT_INFO_AUTHOR}
- COMMIT_INFO_SHA=${COMMIT_INFO_SHA}
- COMMIT_INFO_TIMESTAMP=${COMMIT_INFO_TIMESTAMP}
- COMMIT_INFO_BRANCH=${COMMIT_INFO_BRANCH}
- CYPRESS_GITEA_ADMIN_TOKEN=${CYPRESS_GITEA_ADMIN_TOKEN}
depends_on:
- nginx
working_dir: /e2e
volumes:
- ./e2e:/e2e
- /etc/hosts:/etc/hosts:ro
nginx:
environment:
- 'USE_LOCAL_MINIO=true'
processor:
environment:
- 'USE_LOCAL_MINIO=true'
volumes:
- /etc/hosts:/etc/hosts:ro
minio:
image: quay.io/minio/minio:RELEASE.2022-10-24T18-35-07Z
environment:
- MINIO_DOMAIN=kitspace-minio.test
- MINIO_ROOT_USER=${S3_ACCESS_KEY}
- MINIO_ROOT_PASSWORD=${S3_SECRET_KEY}
volumes:
- minio-data:/data
command: server /data --console-address ":9090"
volumes:
minio-data: