-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.reviewapp.yml
83 lines (79 loc) · 2.25 KB
/
docker-compose.reviewapp.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
version: '3.4'
services:
database_review:
image: public.ecr.aws/docker/library/postgres:16.4
restart: always
ports:
- '6432:5432'
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_DB=dev_db
tmpfs:
- /var/lib/postgresql/data
redis_review:
image: public.ecr.aws/docker/library/redis:5.0.14
milmove_migrate_review:
depends_on:
- database_review
build:
context: .
dockerfile: Dockerfile.reviewapp
target: migrate
args:
GIT_BRANCH: ${GIT_BRANCH:-unknown}
GIT_COMMIT: ${GIT_COMMIT:-unknown}
links:
- database_review
env_file:
- config/env/review.app.env
environment:
- DB_HOST=database_review
- DB_DEBUG=0
- 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
milmove_review:
depends_on:
- database_review
- milmove_migrate_review
- redis_review
build:
context: .
dockerfile: Dockerfile.reviewapp
args:
GIT_BRANCH: ${GIT_BRANCH:-unknown}
GIT_COMMIT: ${GIT_COMMIT:-unknown}
target: milmove
links:
- database_review
env_file:
- config/env/review.app.env
environment:
- DB_HOST=database_review
- 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
- 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_TENANT_CALLBACK_PROTOCOL
- REDIS_HOST=redis_review
- REVIEW_BASE_DOMAIN