49 lines
1.9 KiB
Bash
49 lines
1.9 KiB
Bash
# This file defines the global default configuration for docker deployments.
|
|
# It is tracked in source control. For temporary modifications, please create
|
|
# a separate file called ".env.local" (it's in .gitignore, so won't be tracked).
|
|
# If a variable is defined in both files, the value in .env.local will be used.
|
|
#
|
|
# About the deployment procedure:
|
|
# We use Docker Compose to build images and launch containers for various services
|
|
# that make up our software suite:
|
|
# - sparkd
|
|
# - TODO: pubsub
|
|
# - TODO: md-publisher
|
|
# - TODO: webapp (DSQA on the web)
|
|
# - TODO: api-server (websocket based)
|
|
# From inside a devcontainer, you can launch all services in separate containers
|
|
# on your machine by running:
|
|
#
|
|
# tools/deploy.sh
|
|
#
|
|
# This script builds release versions for each service, packaged (generally) in
|
|
# self-contained directories. Next, it runs a few "docker compose" commands to
|
|
# build docker images loaded with the self-contained binaries from the previous
|
|
# step, and start containers with those images to run each service. To view the
|
|
# commands that deploy.sh runs internally (without actually running them), run:
|
|
#
|
|
# tools/deploy.sh --dry-run
|
|
#
|
|
# For additional information/help, run:
|
|
#
|
|
# tools/deploy.sh --help
|
|
#
|
|
|
|
### Sparkd ###
|
|
# The internal image for sparkd to use. For more info, view:
|
|
# src/server/sparkd/Dockerfile
|
|
SPARKD__IMAGE=sparkd
|
|
# The config dir for this service to use
|
|
SPARKD__CONFIG_DIR=src/server/sparkd/configurations/dev
|
|
# Mount a specific volume or dir to "~/sparkdata/data" inside the docker.
|
|
# Defaults to a volume named "sparkd_<config_port>" (e.g., sparkd_8000).
|
|
# SPARKD__DATA_DIR=/home/bts/sparkdata/data
|
|
SPARKD__SOURCE_DIR=install/sparkd-release-gcc
|
|
SPARKD__RUNTIME_CONF_DIR=/home/ubuntu/8000/sparkdata/conf/
|
|
SPARKD__CONFIG_PORT=8000
|
|
SPARKD__QUICKBUS_PORT=8001
|
|
SPARKD__SIM_FIX_PORT=8002
|
|
SPARKD__SHM_SIZE=4gb
|
|
|
|
# TODO: add config for other services (pubsub, md-publisher, webapp, api-server, etc.)
|