-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (41 loc) · 1.41 KB
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (41 loc) · 1.41 KB
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
services:
dynamodb-local:
image: amazon/dynamodb-local
command: ["-jar", "DynamoDBLocal.jar", "-inMemory"]
ports:
- "8766:8000"
restart: unless-stopped
web:
build: .
depends_on:
- dynamodb-local
environment:
AWS_REGION_NAME: eu-west-3
AWS_ACCESS_KEY_ID: fake
AWS_SECRET_ACCESS_KEY: fake
DYNAMODB_ENDPOINT: http://dynamodb-local:8000
DYNAMODB_USERS: phishing-app-dev-users
DYNAMODB_QUIZZES: phishing-app-dev-quizzes
DYNAMODB_ATTEMPTS: phishing-app-dev-attempts
DYNAMODB_RESPONSES: phishing-app-dev-responses
DYNAMODB_INSPECTOR: phishing-app-dev-inspector-attempts
DYNAMODB_INSPECTOR_ANON: phishing-app-dev-inspector-attempts-anon
DYNAMODB_BUGS: phishing-app-dev-bugs
DYNAMODB_ANSWER_KEY_OVERRIDES: phishing-app-dev-answer-key-overrides
DYNAMODB_COHORT_TOKENS: phishing-app-dev-cohort-tokens
DYNAMODB_THREAT_CACHE: phishing-app-dev-threat-cache
DYNAMODB_CAMPAIGNS: phishing-app-dev-campaigns
DYNAMODB_CAMPAIGN_EVENTS: phishing-app-dev-campaign-events
S3_BUCKET: phishing-app-dev-eu-west-3
SECRET_KEY: dev-secret-key
restart: unless-stopped
nginx:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./app/static:/usr/share/nginx/html/static:ro
depends_on:
- web
restart: unless-stopped