sql: Expose default port to host

This port exposes the sql connection to the host on the default
(localhost) port
This commit is contained in:
Tom Wiesing 2022-08-15 13:37:16 +02:00
parent f478702d1f
commit 4b0b86f22c
No known key found for this signature in database

View file

@ -5,6 +5,8 @@ services:
image: mariadb
volumes:
- "./data/:/var/lib/mysql"
ports:
- 127.0.0.1:3306:3306
environment:
# This combination of environment variables will configure a passwordless root user
# that can only connect to the container from 'localhost'.