-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.ecs.yml
89 lines (85 loc) · 2.41 KB
/
docker-compose.ecs.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: '3'
services:
database:
image: public.ecr.aws/docker/library/postgres:16.4
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_DB=dev_db
logging:
driver: awslogs
options:
awslogs-group: mymove
awslogs-region: us-west-2
awslogs-stream-prefix: mymove
redis:
image: public.ecr.aws/docker/library/redis:5.0.14
logging:
driver: awslogs
options:
awslogs-group: mymove
awslogs-region: us-west-2
awslogs-stream-prefix: mymove
milmove_migrate:
image: ${MILMOVE_MIGRATE_IMG}
env_file:
- config/env/review.app.env
environment:
- DB_HOST=127.0.0.1
- DB_DEBUG=0
- LOGGING_ENV
- MIGRATION_PATH=file:///migrate/schema;file:///migrate/secure
- MIGRATION_MANIFEST=/migrate/migrations_manifest.txt
- MOVE_MIL_DOD_CA_CERT
- MOVE_MIL_DOD_TLS_CERT
- MOVE_MIL_DOD_TLS_KEY
logging:
driver: awslogs
options:
awslogs-group: mymove
awslogs-region: us-west-2
awslogs-stream-prefix: mymove
milmove:
image: ${MILMOVE_IMG}
ports:
- '4000:4000'
- '9443:9443'
env_file:
- config/env/review.app.env
environment:
- DB_HOST=127.0.0.1
- CLIENT_AUTH_SECRET_KEY
- CSRF_AUTH_KEY
- HERE_MAPS_APP_CODE
- HERE_MAPS_APP_ID
- HERE_MAPS_GEOCODE_ENDPOINT
- HERE_MAPS_ROUTING_ENDPOINT
- HTTP_ADMIN_SERVER_NAME=admin-${REVIEW_BASE_DOMAIN}
- HTTP_MY_SERVER_NAME=my-${REVIEW_BASE_DOMAIN}
- HTTP_OFFICE_SERVER_NAME=office-${REVIEW_BASE_DOMAIN}
- HTTP_ORDERS_SERVER_NAME=orders-${REVIEW_BASE_DOMAIN}
- HTTP_PRIME_SERVER_NAME=prime-${REVIEW_BASE_DOMAIN}
- IWS_RBS_HOST
- LOGGING_ENV
- LOGIN_GOV_ADMIN_CLIENT_ID
- LOGIN_GOV_CALLBACK_PROTOCOL
- LOGIN_GOV_HOSTNAME
- LOGIN_GOV_MY_CLIENT_ID
- LOGIN_GOV_OFFICE_CLIENT_ID
- LOGIN_GOV_SECRET_KEY
- MOVE_MIL_DOD_CA_CERT
- MOVE_MIL_DOD_TLS_CERT
- MOVE_MIL_DOD_TLS_KEY
- OKTA_CUSTOMER_CLIENT_ID
- OKTA_ADMIN_CLIENT_ID
- OKTA_OFFICE_CLIENT_ID
- OKTA_TENANT_CALLBACK_PROTOCOL
- OKTA_OFFICE_GROUP_ID
- REDIS_HOST=127.0.0.1
- REVIEW_BASE_DOMAIN
logging:
driver: awslogs
options:
awslogs-group: mymove
awslogs-region: us-west-2
awslogs-stream-prefix: mymove