2024-08-25 00:03:07 +02:00
|
|
|
# Rx3 Ampache Mageia-9 Docker Image
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-08-27 00:04:39 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Global Settings
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
IMG_ORG="rx3"
|
|
|
|
IMG_REGISTRY="docker.xor.rx3:5000"
|
|
|
|
IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Image Settings
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
2024-08-25 00:03:07 +02:00
|
|
|
IMG_NAME="ampache-mga9"
|
|
|
|
IMG_FULL_NAME="Rx3 Ampache Mageia-9 Docker Image"
|
2024-10-05 18:19:58 +02:00
|
|
|
IMG_VERSION="1.2.2"
|
2024-08-27 00:04:39 +02:00
|
|
|
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
|
2024-08-25 00:03:07 +02:00
|
|
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
2024-08-27 00:04:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# User Settings
|
|
|
|
#-------------------------------------------------------------------------------
|
2024-08-27 23:43:01 +02:00
|
|
|
|
2024-10-05 18:19:58 +02:00
|
|
|
ENV_PORT_OFFSET=0
|
|
|
|
SV_PORT_OFFSET=1000
|
|
|
|
|
|
|
|
DATABASE_PORT=$(( 8006 + ${ENV_PORT_OFFSET}))
|
|
|
|
DATABASE_SV_PORT=$(( ${DATABASE_PORT} + ${SV_PORT_OFFSET}))
|
|
|
|
|
2024-08-27 23:43:01 +02:00
|
|
|
MARIADB_UID=983
|
|
|
|
MARIADB_GID=981
|
|
|
|
MARIADB_ROOT_HOST='%' # needs to be enclosed with quotes
|
|
|
|
MARIADB_ROOT_PASSWORD="mysqladmin"
|
|
|
|
MARIADB_DATABASE="ampache"
|
|
|
|
MARIADB_USER="ampache"
|
|
|
|
MARIADB_PASSWORD="ampacheadmin"
|
2024-10-05 18:19:58 +02:00
|
|
|
|
|
|
|
WEBAPP_INT_PORT=$(( 8085 + ${ENV_PORT_OFFSET}))
|
|
|
|
WEBAPP_INT_SV_PORT=$(( ${WEBAPP_INT_PORT} + ${SV_PORT_OFFSET}))
|
|
|
|
|
|
|
|
WEBAPP_EXT_PORT=$(( ${WEBAPP_INT_PORT} + 1))
|
|
|
|
WEBAPP_EXT_SV_PORT=$(( ${WEBAPP_EXT_PORT} + ${SV_PORT_OFFSET}))
|
|
|
|
|