202509191423
This commit is contained in:
@@ -2,7 +2,7 @@ MariaDB_NODE_NAME=SVR
|
||||
MARIADB_ROOT_PASSWORD=rootpass
|
||||
MariaDB_GALERA_CLUSTER_ADDRESS=gcomm://192.168.1.200
|
||||
MARIADB_GALERA_CLUSTER_NAME=ktv_mariadb_cluster
|
||||
MARIADB_GALERA_CLUSTER_BOOTSTRAP=yes
|
||||
MARIADB_GALERA_MARIABACKUP_PASSWORD=7BYfrgCw4vmj9vaHZLED
|
||||
MariaDB_GALERA_BOOTSTRAP=yes
|
||||
|
||||
PHPMYADMIN_PORT=8080
|
||||
|
||||
@@ -4,9 +4,10 @@ services:
|
||||
container_name: ${MariaDB_NODE_NAME}
|
||||
environment:
|
||||
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
|
||||
- MARIADB_GALERA_CLUSTER_BOOTSTRAP=${MariaDB_GALERA_BOOTSTRAP}
|
||||
- MARIADB_GALERA_CLUSTER_BOOTSTRAP=${MARIADB_GALERA_CLUSTER_BOOTSTRAP}
|
||||
- MARIADB_GALERA_CLUSTER_NAME=${MARIADB_GALERA_CLUSTER_NAME}
|
||||
- MARIADB_GALERA_MARIABACKUP_PASSWORD=${MARIADB_GALERA_MARIABACKUP_PASSWORD}
|
||||
- MARIADB_GALERA_CLUSTER_ADDRESS=${MariaDB_GALERA_CLUSTER_ADDRESS}
|
||||
ports:
|
||||
- "3306:3306"
|
||||
- "4444:4444"
|
||||
|
||||
12
text.txt
Normal file
12
text.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
New-NetFirewallRule -DisplayName "Galera TCP 3306" -Direction Inbound -LocalPort 3306 -Protocol TCP -Action Allow
|
||||
|
||||
|
||||
# TCP
|
||||
New-NetFirewallRule -DisplayName "Galera TCP 4567" -Direction Inbound -LocalPort 4567 -Protocol TCP -Action Allow
|
||||
|
||||
New-NetFirewallRule -DisplayName "Galera TCP 4568" -Direction Inbound -LocalPort 4568 -Protocol TCP -Action Allow
|
||||
|
||||
New-NetFirewallRule -DisplayName "Galera TCP 4444" -Direction Inbound -LocalPort 4444 -Protocol TCP -Action Allow
|
||||
|
||||
# UDP
|
||||
New-NetFirewallRule -DisplayName "Galera UDP 4567" -Direction Inbound -LocalPort 4567 -Protocol UDP -Action Allow
|
||||
Reference in New Issue
Block a user