-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.integration.yml
36 lines (35 loc) · 1.23 KB
/
docker-compose.integration.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
version: "3.4"
services:
prereview:
build:
target: integration
environment:
PREREVIEW_ADMIN_USERS: '0000-0002-6266-406X'
PREREVIEW_ORCID_CALLBACK_URL: 'http://prereview:3000/api/v2/orcid/callback'
TEST_ADMIN_USER_ORCID: '0000-0002-6266-406X'
TEST_ADMIN_USER_API_APP: 'playwright'
TEST_ADMIN_USER_API_KEY: 'not-a-secret'
playwright:
build:
context: integration
depends_on:
- prereview
networks:
- prereview-private
- prereview-public
volumes:
- './integration/playwright.config.ts:/app/playwright.config.ts'
- './integration/src:/app/src'
- './integration/results:/app/test-results'
- './integration/state:/app/state'
environment:
BASE_URL: 'http://prereview:3000'
RETRIES:
TEST_ADMIN_USER_API_APP: 'playwright'
TEST_ADMIN_USER_API_KEY: 'not-a-secret'
TEST_USER_ORCID: '0000-0002-7498-6197'
TEST_USER_ORCID_PASSWORD: 'this-is-a-secure-passw0rd!'
TEST_COMMUNITY_MEMBER_ORCID: '0000-0002-6344-7905'
TEST_COMMUNITY_MEMBER_ORCID_PASSWORD: 'this-is-a-secure-passw0rd!'
TEST_COMMUNITY_MODERATOR_ORCID: '0000-0002-4045-3747'
TEST_COMMUNITY_MODERATOR_ORCID_PASSWORD: 'this-is-a-secure-passw0rd!'