-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (50 loc) · 1.28 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3'
# for development purposes only
services:
tests: &tests
build:
context: .
dockerfile: DockerfileTests
image: keboola/docker-bundle-tests
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/:/tmp/
environment:
- AWS_ECR_ACCESS_KEY_ID
- AWS_ECR_REGISTRY_ACCOUNT_ID
- AWS_ECR_REGISTRY_REGION
- AWS_ECR_REGISTRY_URI
- AWS_ECR_SECRET_ACCESS_KEY
- AWS_KMS_TEST_KEY
- DOCKERHUB_PRIVATE_PASSWORD
- DOCKERHUB_PRIVATE_SERVER
- DOCKERHUB_PRIVATE_USERNAME
- STORAGE_API_TOKEN
- STORAGE_API_URL
- STORAGE_API_URL_SYNAPSE
- STORAGE_API_TOKEN_SYNAPSE
- STORAGE_API_TOKEN_MASTER
- RUNNER_COMMAND_TO_GET_HOST_IP
- STORAGE_API_TOKEN_READ_ONLY
- STORAGE_API_TOKEN_NETWORK_POLICY
- STORAGE_API_TOKEN_FEATURE_NATIVE_TYPES
- STORAGE_API_TOKEN_FEATURE_NEW_NATIVE_TYPES
- RUNNER_MIN_LOG_PORT
- RUNNER_MAX_LOG_PORT
host-tests:
<<: *tests
network_mode: host
dev:
<<: *tests
volumes:
- .:/code
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp
local-tests:
<<: *tests
ports:
- "22:22"
volumes:
- .:/code/
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/:/tmp/