-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (45 loc) · 1.62 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
# This file is used to assist development
services:
agent:
build: .
entrypoint: [ "sleep", "infinity" ]
init: true
volumes:
- ./src:/app
- ./tmp/deploy-keys:/deploy-keys:ro
- .:/local-repos/asset-manager:ro
environment:
- |
AGENT_CONFIG={
"repos": {
"[email protected]:WATonomous/infra-config.git": {"deploy_key_path": "/deploy-keys/infra-config"},
"asset-manager": {"path": "/local-repos/asset-manager"}
},
"buckets": {
"temp": {
"endpoint": "https://rgw.watonomous.ca",
"bucket": "asset-temp",
"access_key_env_var": "S3_TEMP_ACCESS_KEY",
"secret_key_env_var": "S3_TEMP_SECRET_KEY"
},
"perm": {
"endpoint": "https://rgw.watonomous.ca",
"bucket": "asset-perm",
"access_key_env_var": "S3_PERM_ACCESS_KEY",
"secret_key_env_var": "S3_PERM_SECRET_KEY"
},
"off-perm": {
"endpoint": "https://rgw.watonomous.ca",
"bucket": "asset-off-perm",
"access_key_env_var": "S3_OFF_PERM_ACCESS_KEY",
"secret_key_env_var": "S3_OFF_PERM_SECRET_KEY"
}
}
}
# These can be set in the .env file
- S3_TEMP_ACCESS_KEY=${S3_TEMP_ACCESS_KEY:?}
- S3_TEMP_SECRET_KEY=${S3_TEMP_SECRET_KEY:?}
- S3_PERM_ACCESS_KEY=${S3_PERM_ACCESS_KEY:?}
- S3_PERM_SECRET_KEY=${S3_PERM_SECRET_KEY:?}
- S3_OFF_PERM_ACCESS_KEY=${S3_OFF_PERM_ACCESS_KEY:?}
- S3_OFF_PERM_SECRET_KEY=${S3_OFF_PERM_SECRET_KEY:?}