Arnaud G. GIBERT
a6a64504e4
- New version naming standard, - Now use docker_tools for .env building, - Now use docker_service_add macro, - Use now rx3-docker/server:1.2.0-mga9 image, - Add /var/log/init, /var/log/supervisor & var/log/mysql volumes.
41 lines
2.2 KiB
Plaintext
41 lines
2.2 KiB
Plaintext
# Rx3-Docker/MariaDB Docker Image
|
|
#-------------------------------------------------------------------------------
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Global Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
ORG_NAME="rx3-docker"
|
|
ORG_REGISTRY="docker.xor.rx3:5000"
|
|
ORG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
|
|
|
|
|
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Image Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
HOST_NAME_PREFIX=""
|
|
|
|
PORT_ENV_OFFSET=0
|
|
PORT_SV_OFFSET=1000
|
|
|
|
|
|
#------------------+----------+--------------------+--------------------------+------------------------------------------+------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
|
# | Variable | Target Image | From Image | Module | Main Port | Admin Port | User | Group |
|
|
# | Prefix | URL Prefix | Name | Name Full + Version | URL Prefix | Name + Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
|
|
#------------------+----------+--------------------+--------------------------+------------------------------------------+------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
|
|
|
docker_service_add DATABASE ${ORG_URL_PREFIX} mariadb "Rx3-Docker/MariaDB Docker Image" 1.1.0-mga9 ${ORG_URL_PREFIX} server 1.2.0-mga9 mysql - 8006 3306 - - 983 981
|
|
|
|
|
|
|
|
MARIADB_ROOT_HOST='%' # needs to be enclosed with quotes
|
|
MARIADB_ROOT_PASSWORD="mysqladmin"
|
|
MARIADB_DATABASE="test"
|
|
MARIADB_USER="test"
|
|
MARIADB_PASSWORD="testadmin"
|