mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(docker): support for host-mounted mariadb socket
A new configurable env var has been introduced to production Docker: MARIADB_SOCKET_DIR, which should contain a path to a directory containing `mysqld.sock` on the Docker host. Note: The database name, user and password can be configured by modifying `conf/config.dev` before building the Docker image. This feature only works in production mode, when specifying: $ export MARIADB_SOCKET_DIR=/var/run/mysqld $ docker-compose -f docker-compose.yml -f docker-compose.prod.yml ... Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
1cb1ce0d99
commit
4f505ca6c1