mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 23:10:53 +08:00
removed unused files
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
$BITNAMI_APP_NAME cheatsheet:
|
||||
|
||||
ENVIRONMENT VARIABLES:
|
||||
MARIADB_USER: User to be created on first boot (default: root).
|
||||
MARIADB_PASSWORD: Password to be set for MARIADB_USER on first boot (default: none).
|
||||
MARIADB_DATABASE: Database to be created on first boot, accessible by MARIADB_USER (default: none).
|
||||
MARIADB_SERVER_ID: Unique server identifier (default: random number)
|
||||
MARIADB_REPLICATION_MODE: Replication mode. Possible values master/slave (default: none).
|
||||
MARIADB_REPLICATION_USER: Replication user. User is created on master on the first boot (default: none).
|
||||
MARIADB_REPLICATION_PASSWORD: Replication users password. Password is set for MARIADB_REPLICATION_USER on master on the first boot (default: none).
|
||||
MARIADB_MASTER_HOST: Replication masters hostname/ip (parameter available only on slave).
|
||||
MARIADB_MASTER_USER: User on replication master with access to MARIADB_DATABASE. (default: root, parameter available only on slave).
|
||||
MARIADB_MASTER_PASSWORD: Password of user on replication master with access to MARIADB_DATABASE (parameter available only on slave).
|
||||
|
||||
VOLUMES:
|
||||
$BITNAMI_APP_VOL_PREFIX/data: Location of $BITNAMI_APP_NAME data files.
|
||||
$BITNAMI_APP_VOL_PREFIX/conf: Location of my.cnf ($BITNAMI_APP_NAME config file).
|
||||
$BITNAMI_APP_VOL_PREFIX/logs: Location of mysqld.log.
|
||||
|
||||
PORTS:
|
||||
3306: $BITNAMI_APP_NAME default port.
|
||||
|
||||
MISC:
|
||||
Options: You can add extra options during the docker run using the -- prefix.
|
||||
Note: MARIADB_USER works in conjunction with MARIADB_DATABASE environment variable.
|
||||
Tip: Back up the $BITNAMI_APP_VOL_PREFIX/data and $BITNAMI_APP_VOL_PREFIX/conf directories regularly.
|
||||
|
||||
COMMANDS:
|
||||
print-help: Print this page.
|
||||
check-updates: Check if a new version of the $BITNAMI_APP_NAME image is available.
|
||||
|
||||
Visit $GITHUB_PAGE for more information.
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
environment_variables:
|
||||
MARIADB_USER: "User to be created on first boot (default: root)."
|
||||
MARIADB_PASSWORD: "Password to be set for MARIADB_USER on first boot (default: none)."
|
||||
MARIADB_DATABASE: "Database to be created on first boot, accessible by MARIADB_USER (default: none)."
|
||||
MARIADB_SERVER_ID: "Unique server identifier (default: random number)"
|
||||
MARIADB_REPLICATION_MODE: "Replication mode. Possible values master/slave (default: none)."
|
||||
MARIADB_REPLICATION_USER: "Replication user. User is created on master on the first boot (default: none)."
|
||||
MARIADB_REPLICATION_PASSWORD: "Replication users password. Password is set for MARIADB_REPLICATION_USER on master on the first boot (default: none)."
|
||||
MARIADB_MASTER_HOST: "Replication masters hostname/ip (parameter available only on slave)."
|
||||
MARIADB_MASTER_USER: "User on replication master with access to MARIADB_DATABASE. (default: root, parameter available only on slave)."
|
||||
MARIADB_MASTER_PASSWORD: "Password of user on replication master with access to MARIADB_DATABASE (parameter available only on slave)."
|
||||
volumes:
|
||||
$BITNAMI_APP_VOL_PREFIX/data: "Location of $BITNAMI_APP_NAME data files."
|
||||
$BITNAMI_APP_VOL_PREFIX/conf: "Location of my.cnf ($BITNAMI_APP_NAME config file)."
|
||||
$BITNAMI_APP_VOL_PREFIX/logs: "Location of mysqld.log."
|
||||
ports:
|
||||
3306: "$BITNAMI_APP_NAME default port."
|
||||
misc:
|
||||
Options: "You can add extra options during the docker run using the -- prefix."
|
||||
Note: "The user and database creation happens only the first time you run the container."
|
||||
Note: "MARIADB_USER works in conjunction with MARIADB_DATABASE environment variable."
|
||||
Tip: "Back up the $BITNAMI_APP_VOL_PREFIX/data and $BITNAMI_APP_VOL_PREFIX/conf directories regularly."
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# disable DNS lookups
|
||||
(
|
||||
echo "[mysqld]"
|
||||
echo "skip-name-resolve"
|
||||
) >> $BITNAMI_APP_DIR/conf/my.cnf
|
||||
|
||||
# set up default config
|
||||
mv $BITNAMI_APP_DIR/conf $BITNAMI_APP_DIR/conf.defaults
|
||||
|
||||
# remove existing default data and logs
|
||||
rm -rf $BITNAMI_APP_DIR/data
|
||||
rm -rf $BITNAMI_APP_DIR/logs
|
||||
|
||||
# symlink mount points at root to install dir
|
||||
ln -s $BITNAMI_APP_DIR/conf $BITNAMI_APP_VOL_PREFIX/conf
|
||||
ln -s $BITNAMI_APP_DIR/data $BITNAMI_APP_VOL_PREFIX/data
|
||||
ln -s $BITNAMI_APP_DIR/logs $BITNAMI_APP_VOL_PREFIX/logs
|
||||
Reference in New Issue
Block a user