-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (43 loc) · 1.2 KB
/
docker-compose.yaml
File metadata and controls
50 lines (43 loc) · 1.2 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
44
45
46
47
48
49
50
# NOTE::
# The services, settings and environment setup in this compose file is for DEVELOPMENT ONLY!
#
# It is intended to run the Apollo server in an "offline" mode. All data will be mocked.
#
networks:
dmsp_backend_prototype_dmptool-network:
external: true
services:
narrative:
container_name: narrative-generator
build:
context: .
dockerfile: Dockerfile
ports:
- "4030:4030"
networks:
- dmsp_backend_prototype_dmptool-network
expose:
- 4030
env_file:
- .env
environment:
- "AWS_ACCESS_KEY_ID=DUMMYIDEXAMPLE"
- "AWS_SECRET_ACCESS_KEY=DUMMYEXAMPLEKEY"
- "REGION=us-west-2"
- "ENV=dev"
- "NODE_ENV=development"
- "PORT=4030"
- "RDS_HOST=apollo-mysql"
- "RDS_PORT=3306"
- "RDS_DATABASE=dmptool"
- "DYNAMODB_ENDPOINT=http://localstack:4566"
- "DYNAMODB_TABLE_NAME=localDMPTable"
- "MAX_ATTEMPTS=3"
- "CACHE_HOST=apollo-redis"
- "CACHE_PORT=6379"
- "CACHE_CONNECT_TIMEOUT=10000"
- "EZID_BASE_URL=https://doi.org"
# Using the Apollo server network's LocalStack endpoint
- "SSM_ENDPOINT=http://localstack:4566"
volumes:
- ".:/app"