-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.local.yml
72 lines (72 loc) · 3.04 KB
/
docker-compose.local.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "3"
services:
database:
image: "postgres:16.1"
container_name: "artemisdb"
ports:
- "${ANALYZER_DB_PORT}:5432"
environment:
POSTGRES_DB: ${ANALYZER_DB_NAME}
POSTGRES_USER: ${ANALYZER_DB_USERNAME}
POSTGRES_PASSWORD: ${ANALYZER_DB_PASSWORD}
localstack:
image: "localstack/localstack:latest"
container_name: "localstack"
volumes:
- ${PWD}/localstack:/etc/localstack/init/ready.d
ports:
- "8080:8080"
- "4566:4566"
environment:
SERVICES: "sqs, s3"
HOSTNAME: "localstack"
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
engine:
image: "${APPLICATION}/engine:latest"
scale: 1
depends_on:
- "localstack"
- "database"
volumes:
- ${DOCKER_SOCKET}:/var/run/docker.sock
- /tmp/work:/work
- $HOME/.aws/credentials:/root/.aws/credentials:ro
- ${PWD}/services.json:/srv/engine/services.json
environment:
AWS_PROFILE: $AWS_PROFILE
HOST_HOME: $HOME
SQS_ENDPOINT: ${INTERNAL_SQS_ENDPOINT}
TASK_QUEUE: ${INTERNAL_TASK_QUEUE}
PRIORITY_TASK_QUEUE: ${INTERNAL_PRIORITY_TASK_QUEUE}
ECR: ${ECR}
CALLBACK_QUEUE: ${INTERNAL_CALLBACK_QUEUE}
EVENT_QUEUE: ${INTERNAL_EVENT_QUEUE}
S3_BUCKET: ${S3_BUCKET}
ANALYZER_DJANGO_SECRET_KEY: ${ANALYZER_DJANGO_SECRET_KEY}
ANALYZER_DB_NAME: ${ANALYZER_DB_NAME}
ANALYZER_DB_USERNAME: ${ANALYZER_DB_USERNAME}
ANALYZER_DB_PASSWORD: ${ANALYZER_DB_PASSWORD}
ANALYZER_DB_HOST: ${INTERNAL_ANALYZER_DB_HOST}
ANALYZER_DB_PORT: ${ANALYZER_DB_PORT}
ARTEMIS_NETWORK: ${ARTEMIS_NETWORK}
ARTEMIS_FEATURE_AQUA_ENABLED: ${ARTEMIS_FEATURE_AQUA_ENABLED}
ARTEMIS_FEATURE_VERACODE_ENABLED: ${ARTEMIS_FEATURE_VERACODE_ENABLED}
ARTEMIS_GITHUB_APP_ID: ${ARTEMIS_GITHUB_APP_ID}
ARTEMIS_PRIVATE_DOCKER_REPOS_KEY: ${ARTEMIS_PRIVATE_DOCKER_REPOS_KEY}
ARTEMIS_PLUGIN_JAVA_HEAP_SIZE: ${ARTEMIS_PLUGIN_JAVA_HEAP_SIZE}
ARTEMIS_LOCAL_SERVICES_OVERRIDE: ${ARTEMIS_LOCAL_SERVICES_OVERRIDE}
ARTEMIS_LINK_GH_CLIENT_ID: ${ARTEMIS_LINK_GH_CLIENT_ID}
ARTEMIS_LINK_GH_CLIENT_SECRET: ${ARTEMIS_LINK_GH_CLIENT_SECRET}
ARTEMIS_LOG_LEVEL: ${ARTEMIS_LOG_LEVEL}
ARTEMIS_STATUS_LAMBDA: ${ARTEMIS_STATUS_LAMBDA}
ARTEMIS_MANDATORY_INCLUDE_PATHS: ${ARTEMIS_MANDATORY_INCLUDE_PATHS}
ARTEMIS_METADATA_SCHEME_MODULES: ${ARTEMIS_METADATA_SCHEME_MODULES}
ARTEMIS_FEATURE_SNYK_ENABLED: ${ARTEMIS_FEATURE_SNYK_ENABLED}
ARTEMIS_FEATURE_GHAS_ENABLED: ${ARTEMIS_FEATURE_GHAS_ENABLED}
ARTEMIS_SCAN_DATA_S3_BUCKET: ${ARTEMIS_SCAN_DATA_S3_BUCKET}
ARTEMIS_SCAN_DATA_S3_ENDPOINT: ${INTERNAL_ARTEMIS_SCAN_DATA_S3_ENDPOINT}
ARTEMIS_SECRETS_EVENTS_ENABLED: ${ARTEMIS_SECRETS_EVENTS_ENABLED}
ARTEMIS_INVENTORY_EVENTS_ENABLED: ${ARTEMIS_INVENTORY_EVENTS_ENABLED}
ARTEMIS_CONFIGURATION_EVENTS_ENABLED: ${ARTEMIS_CONFIGURATION_EVENTS_ENABLED}
ARTEMIS_VULNERABILITY_EVENTS_ENABLED: ${ARTEMIS_VULNERABILITY_EVENTS_ENABLED}
ARTEMIS_METADATA_EVENTS_ENABLED: ${ARTEMIS_METADATA_EVENTS_ENABLED}