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:
parent
f478702d1f
commit
4b0b86f22c
1 changed files with 2 additions and 0 deletions
|
|
@ -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'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue