-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.test.yml
78 lines (71 loc) · 1.56 KB
/
docker-compose.test.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
services:
db2:
volumes:
- logs:/var/www/html/storage/logs
ports:
- "3307:3306"
api:
volumes:
- logs:/work/logs
environment:
TEST: "true"
TEST_SERVICE_TOKEN:
public:
environment:
HOST_BACKEND: "api"
admin:
environment:
HOST_BACKEND: "api"
selenium:
image: selenium/standalone-chrome-debug
networks:
- makeradmin
ports:
- "4444"
volumes:
- /dev/shm:/dev/shm
email-dispatcher:
command: ["/bin/sleep", "3600"]
environment:
MAILGUN_DOMAIN: ""
MAILGUN_KEY: ""
test:
image: makeradmin/test:1.0
build:
context: ./api
dockerfile: TestDockerfile
networks:
- makeradmin
command:
- "/work/test_run.sh"
volumes:
- .test:/work/.test
depends_on:
- admin
- public
- api
- selenium
environment:
MYSQL_HOST: db2
MYSQL_DB:
MYSQL_PORT:
MYSQL_USER:
MYSQL_PASS:
WEBDRIVER_TYPE: "REMOTE_CHROME"
TEST_IS_INSIDE_DOCKER: "true"
TEST_SERVICE_TOKEN:
HOST_FRONTEND: "http://admin"
HOST_BACKEND: "http://api"
HOST_PUBLIC: "http://public"
APIGATEWAY: "api"
STRIPE_PRIVATE_KEY:
STRIPE_PUBLIC_KEY:
STRIPE_CURRENCY:
TEST_PARALELLISM:
SELENIUM_BASE_TIMEOUT:
SELENIUM_SCREENSHOT_DIR: "/work/.test/selenium-screenshots"
ACCESSY_LABACCESS_GROUP: "00000000-0000-0000-0000-000000000000"
ACCESSY_SPECIAL_LABACCESS_GROUP: "00000000-0000-0000-0000-000000000001"
PYTEST_ADDOPTS:
volumes:
logs: