26 lines
911 B
Bash
26 lines
911 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# config
|
|
#
|
|
# This file gives parameters to launch Docker containers for Gissmo projects.
|
|
#
|
|
# PROJECT_DIR: will contains all python libraries and gissmo git repository
|
|
# POSTGRES_VERSION: version of postgreSQL to fetch from Discourse public repo
|
|
# POSTGRES_DOCKER_NAME: name of postgreSQL Docker container
|
|
# DB_VOLUME_NAME: name of Docker created container that would be used for pSQL
|
|
# GIT_BRANCH: name of default branch to retrieve
|
|
# GISSMO_VERSION: used to generated Gissmo Docker image name.
|
|
# GISSMO_DOCKER_NAME: used to generate each Gissmo Docker container
|
|
# GISSMO_DOCKER_PORT: public port from which you will access to Gissmo
|
|
|
|
PROJECT_DIR="${HOME}/gissmo_project"
|
|
POSTGRES_VERSION="9.5"
|
|
POSTGRES_DOCKER_NAME="gissmo_db"
|
|
DB_DIR="/dbdata"
|
|
DB_VOLUME_NAME="dbdata"
|
|
GIT_BRANCH="v1.7"
|
|
GISSMO_VERSION="1.7"
|
|
# GISSMO_DOCKER_NAME="gissmo"
|
|
GISSMO_DOCKER_PORT="8002"
|
|
UPLOAD_DIR="/srv/upload"
|