Added a Port change option to the yml file

This commit is contained in:
MathewFrancis 2025-03-20 15:37:16 +05:30
parent 840617da84
commit 6555d5452e
17 changed files with 5 additions and 14 deletions

View File

@ -1,14 +1,3 @@
;[asterisk]
;Description = MariaDB connection to Asterisk
;Driver = MariaDB
;Server = mat_mariadb
;Database = asterisk_db
;User = asterisk_user
;Password = asterisk_pass
;Port = 3306
;Option = 3
;${HOST_IP}
[asterisk] [asterisk]
Description = MariaDB connection to Asterisk Description = MariaDB connection to Asterisk
Driver = MariaDB Driver = MariaDB
@ -16,6 +5,6 @@ Driver = MariaDB
Server = 127.0.0.1 Server = 127.0.0.1
Database = asterisk_db Database = asterisk_db
User = asterisk_user User = asterisk_user
Password = asterisk_pass Password = 12345
Port = 3306 Port = 3308
Option = 3 Option = 3

View File

@ -21,7 +21,8 @@ services:
MYSQL_ROOT_PASSWORD: rootpassword MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: asterisk_db MYSQL_DATABASE: asterisk_db
MYSQL_USER: asterisk_user MYSQL_USER: asterisk_user
MYSQL_PASSWORD: asterisk_pass MYSQL_PASSWORD: 12345
MYSQL_TCP_PORT: 3308
volumes: volumes:
- ./mariadb_data:/var/lib/mysql # Persistent data - ./mariadb_data:/var/lib/mysql # Persistent data
network_mode: "host" network_mode: "host"

View File

@ -7,6 +7,7 @@
11,4 11,4
11,3 11,3
10,3 10,3
9,4
9,3 9,3
7,3 7,3
5,3 5,3