-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathactions-services.yml
42 lines (40 loc) · 1.32 KB
/
actions-services.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
services:
test:
build: .
environment:
AWS_ENDPOINT: dynamo:8000
AWS_DISABLE_SSL: "true"
API_KEY_TABLE: ApiKey
WEBAUTHN_TABLE: WebAuthn
LAMBDA_ROLE: placeholder
AWS_REGION: $AWS_REGION
GITHUB_REF_NAME: $GITHUB_REF_NAME
STG_AWS_ACCESS_KEY_ID: $STG_AWS_ACCESS_KEY_ID
STG_AWS_SECRET_ACCESS_KEY: $STG_AWS_SECRET_ACCESS_KEY
PRD_AWS_ACCESS_KEY_ID: $PRD_AWS_ACCESS_KEY_ID
PRD_AWS_SECRET_ACCESS_KEY: $PRD_AWS_SECRET_ACCESS_KEY
depends_on:
- dynamo
app:
build: .
working_dir: /src
environment:
AWS_REGION: $AWS_REGION
GITHUB_REF_NAME: $GITHUB_REF_NAME
STG_AWS_ACCESS_KEY_ID: $STG_AWS_ACCESS_KEY_ID
STG_AWS_SECRET_ACCESS_KEY: $STG_AWS_SECRET_ACCESS_KEY
STG_LAMBDA_ROLE: $STG_LAMBDA_ROLE
STG_API_KEY_TABLE: $STG_API_KEY_TABLE
STG_WEBAUTHN_TABLE: $STG_WEBAUTHN_TABLE
PRD_AWS_ACCESS_KEY_ID: $PRD_AWS_ACCESS_KEY_ID
PRD_AWS_SECRET_ACCESS_KEY: $PRD_AWS_SECRET_ACCESS_KEY
PRD_LAMBDA_ROLE: $PRD_LAMBDA_ROLE
PRD_API_KEY_TABLE: $PRD_API_KEY_TABLE
PRD_WEBAUTHN_TABLE: $PRD_WEBAUTHN_TABLE
dynamo:
image: amazon/dynamodb-local
environment:
AWS_ACCESS_KEY_ID: abc123
AWS_SECRET_ACCESS_KEY: abc123
AWS_DEFAULT_REGION: us-east-1
command: "-jar DynamoDBLocal.jar -sharedDb"