-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
53 lines (49 loc) · 998 Bytes
/
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
services:
proxy:
image: silintl/traefik-https-proxy
ports:
- "80:80"
- "443:443"
volumes:
- ./.cert/:/cert/
env_file:
- local.env
dynamo:
image: amazon/dynamodb-local
ports:
- "8000:8000"
environment:
AWS_ACCESS_KEY_ID: abc123
AWS_SECRET_ACCESS_KEY: abc123
AWS_DEFAULT_REGION: us-east-1
command: "-jar DynamoDBLocal.jar -sharedDb"
app:
build: .
volumes:
- ./:/src
ports:
- 8080
environment:
AWS_ENDPOINT: dynamo:8000
AWS_DEFAULT_REGION: us-east-1
AWS_ACCESS_KEY_ID: abc123
AWS_SECRET_ACCESS_KEY: abc123
AWS_DISABLE_SSL: "true"
API_KEY_TABLE: ApiKey
WEBAUTHN_TABLE: WebAuthn
depends_on:
- dynamo
working_dir: /src
ui:
image: httpd:alpine
volumes:
- ./demo-ui:/usr/local/apache2/htdocs
ports:
- 80
sls:
build: .
env_file:
- local.env
volumes:
- .:/src
command: ["bash"]