Repository navigation
Expand file tree
/
Copy pathdocker-compose.integration.yaml
More file actions
77 lines (72 loc) · 2.1 KB
/
Copy pathdocker-compose.integration.yaml
File metadata and controls
77 lines (72 loc) · 2.1 KB
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
version: '3.5'
services:
integration:
container_name: integration-tests
image: smartcontract/integration
build:
context: ../../
dockerfile: tools/docker/integration.Dockerfile
args:
- SRCROOT
volumes:
# Forwards the local Docker socket to the container.
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- node
- echo-server
- cypress-job-server
environment:
- SRCROOT
- GETH_MODE
- CHAINLINK_DEV=TRUE # need this for service agreements subcommand
- CHAINLINK_URL
- ETH_HTTP_URL
- ECHO_SERVER_URL
- EXTERNAL_ADAPTER_URL
- CLIENT_NODE_URL # used to send remote commands
- CYPRESS_JOB_SERVER_PORT
- CYPRESS_JOB_SERVER_HOST
- CYPRESS_EXPLORER_URL
- CYPRESS_CHAINLINK_URL=$CHAINLINK_URL
secrets:
- apicredentials
echo-server:
container_name: echo-server
image: smartcontract/echo-server
build:
context: ../../
dockerfile: tools/echo-server/Dockerfile
args:
- SRCROOT
environment:
- PORT=$ECHO_SERVER_PORT
cypress-job-server:
container_name: cypress-job-server
image: smartcontract/cypress-job-server
build:
context: ../../
dockerfile: tools/cypress-job-server/Dockerfile
args:
- SRCROOT
command: '{\"last\":\ \"3843.95\"}'
ports:
- '6692:6692'
environment:
- JOB_SERVER_PORT=$CYPRESS_JOB_SERVER_PORT
external-adapter:
container_name: external-adapter
image: smartcontract/external-adapter
build:
context: ../../
dockerfile: tools/external-adapter/Dockerfile
ports:
- '6644:6644'
environment:
- EXTERNAL_ADAPTER_PORT=$EXTERNAL_ADAPTER_PORT
node:
entrypoint: ''
command: /bin/sh -c "chainlink node import /run/secrets/keystore && chainlink node start -d -p /run/secrets/node_password -a /run/secrets/apicredentials"
depends_on:
- explorer
environment:
ALLOW_ORIGINS: http://localhost:3000,http://localhost:6688,http://integration:3000,http://integration:6688,http://node:3000,http://node:6688