Arnaud G. GIBERT
eade80234e
- Variabilization of external server ports in env & compose file, - Use now docker_tools for .env building.
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Rx3 Server Mageia-9 Docker Image
|
|
#-------------------------------------------------------------------------------
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Global Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
IMG_ORG="rx3"
|
|
IMG_REGISTRY="docker.xor.rx3:5000"
|
|
IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Image Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
IMG_NAME="server-mga9"
|
|
IMG_FULL_NAME="Rx3 Server Mageia-9 Docker Image"
|
|
IMG_VERSION="1.1.3"
|
|
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
|
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# User Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
ENV_PORT_OFFSET=0
|
|
SV_PORT_OFFSET=1000
|
|
|
|
SERVER_PORT=$(( 8080 + ${ENV_PORT_OFFSET}))
|
|
SERVER_SV_PORT=$(( ${SERVER_PORT} + ${SV_PORT_OFFSET}))
|
|
|