-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
39 lines (38 loc) · 1.36 KB
/
docker-compose.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
version: "2"
services:
docker-in-docker:
image: docker:dind
privileged: true
command: --storage-driver=overlay2
expose:
- 2375
- 2376
agent:
image: "node:8"
user: "node"
working_dir: /home/node/app
environment:
- DOCKER_HOST=tcp://docker-in-docker:2375
- NODE_ENV=development
- GTM_AGENT_PORT=${GTM_AGENT_PORT}
- GTM_CRYPT_AGENT_AWS_ACCESS_KEY_ID=${GTM_CRYPT_AGENT_AWS_ACCESS_KEY_ID}
- GTM_CRYPT_AGENT_AWS_SECRET_ACCESS_KEY=${GTM_CRYPT_AGENT_AWS_SECRET_ACCESS_KEY}
- GTM_AWS_REGION=${GTM_AWS_REGION}
- GTM_SQS_PENDING_QUEUE=${GTM_SQS_PENDING_QUEUE}
- GTM_SQS_RESULTS_QUEUE=${GTM_SQS_RESULTS_QUEUE}
- GTM_SNS_RESULTS_TOPIC=${GTM_SNS_RESULTS_TOPIC}
- GTM_TASK_CONFIG_FILENAME=${GTM_TASK_CONFIG_FILENAME}
- GTM_AGENT_GROUP=${GTM_AGENT_GROUP}
- GTM_CRYPT_GITHUB_TOKEN=${GTM_CRYPT_GITHUB_TOKEN}
- GTM_CRYPT_GITHUB_WEBHOOK_SECRET=${GTM_CRYPT_GITHUB_WEBHOOK_SECRET}
- GTM_GITHUB_HOST=${GTM_GITHUB_HOST}
- GTM_GITHUB_DEBUG=${GTM_GITHUB_DEBUG}
- GTM_GITHUB_TIMEOUT=${GTM_GITHUB_TIMEOUT}
- GTM_GITHUB_PATH_PREFIX=${GTM_GITHUB_PATH_PREFIX}
- GTM_GITHUB_PROXY=${GTM_GITHUB_PROXY}
- GTM_GITHUB_OWNER=${GTM_GITHUB_OWNER}
volumes:
- ./:/home/node/app
ports:
- "${GTM_AGENT_PORT}:${GTM_AGENT_PORT}"
command: "npm run agent"