-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.smoke.yml
48 lines (48 loc) · 1.14 KB
/
docker-compose.smoke.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
# This file is used for the smoke tests
version: "3.9"
services:
designer:
container_name: designer
image: digital-form-builder-designer
build:
context: .
dockerfile: ./designer/Dockerfile
ports:
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=123abc
- sandbox=true
- PREVIEW_URL=http://localhost:3009
- PUBLISH_URL=http://runner:3009
command: yarn designer start
depends_on:
- runner
runner:
container_name: runner
image: digital-form-builder-runner
build:
context: .
dockerfile: ./runner/Dockerfile
ports:
- "3009:3009"
environment:
- CHOKIDAR_USEPOLLING=true
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=123abc
- sandbox=true
- PREVIEW_MODE=true
- NODE_ENV=test
- ALLOW_USER_TEMPLATES=true
- NODE_CONFIG={"documentUploadApiUrl":null}
command: yarn runner start
depends_on:
- redis
redis:
image: "redis:alpine"
command: redis-server --requirepass 123abc
ports:
- "6379:6379"