forked from usdot-jpo-ode/jpo-cvmanager
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-webapp-deployment.yml
28 lines (28 loc) · 1.14 KB
/
docker-compose-webapp-deployment.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
# This file is used to build the webapp image for deployment.
# The COUNTS_MSG_TYPES and DOT_NAME variables must be set in .env before building to populate
# correctly in the deployed webapp as they are build-time variables.
services:
cvmanager_webapp:
build:
context: webapp
dockerfile: Dockerfile
args:
API_URI: ${WEBAPP_DOMAIN} # e.g. http://localhost
MAPBOX_TOKEN: ${MAPBOX_TOKEN}
KEYCLOAK_HOST_URL: ${KEYCLOAK_DOMAIN} # e.g. http://localhost
COUNT_MESSAGE_TYPES: ${COUNTS_MSG_TYPES}
VIEWER_MESSAGE_TYPES: ${VIEWER_MSG_TYPES}
DOT_NAME: ${DOT_NAME}
MAPBOX_INIT_LATITUDE: ${MAPBOX_INIT_LATITUDE}
MAPBOX_INIT_LONGITUDE: ${MAPBOX_INIT_LONGITUDE}
MAPBOX_INIT_ZOOM: ${MAPBOX_INIT_ZOOM}
CVIZ_API_SERVER_URL: ${CVIZ_API_SERVER_URL}
CVIZ_API_WS_URL: ${CVIZ_API_WS_URL}
ENABLE_RSU_FEATURES: ${ENABLE_RSU_FEATURES}
ENABLE_INTERSECTION_FEATURES: ${ENABLE_INTERSECTION_FEATURES}
ENABLE_WZDX_FEATURES: ${ENABLE_WZDX_FEATURES}
image: jpo_cvmanager_webapp:latest
restart: always
logging:
options:
max-size: '10m'