Verified Commit 4f505ca6 authored by Kevin Morris's avatar Kevin Morris
Browse files

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's avatarKevin Morris <kevr@0cost.org>
parent 1cb1ce0d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment