Docker file can now build and run mariadb without sudo
This commit is contained in:
parent
5dba7891f6
commit
6d697f9a45
@ -34,6 +34,16 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- asterisk-net
|
- asterisk-net
|
||||||
|
|
||||||
|
# *** only needed if your not running docker as a sudo user necessary for mariadb container db access
|
||||||
|
user: "999:999" # Ensures the container runs as the mysql user, matching volume ownership
|
||||||
|
command: "--innodb-buffer-pool-size=256M"
|
||||||
|
healthcheck: # Optional: Ensure MariaDB is healthy before Asterisk connects
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
# ***
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
asterisk-net:
|
asterisk-net:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
21
MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool
Executable file → Normal file
21
MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool
Executable file → Normal file
@ -1,30 +1,11 @@
|
|||||||
11,4
|
11,4
|
||||||
11,3
|
11,3
|
||||||
11,2
|
|
||||||
11,1
|
|
||||||
11,0
|
|
||||||
10,3
|
10,3
|
||||||
10,2
|
|
||||||
10,1
|
|
||||||
10,0
|
|
||||||
9,4
|
|
||||||
9,3
|
9,3
|
||||||
9,2
|
|
||||||
9,1
|
|
||||||
9,0
|
|
||||||
1,2
|
|
||||||
3,2
|
|
||||||
8,5
|
|
||||||
8,4
|
|
||||||
8,3
|
8,3
|
||||||
8,2
|
|
||||||
8,1
|
|
||||||
8,0
|
|
||||||
0,9
|
|
||||||
2,2
|
|
||||||
7,3
|
|
||||||
5,3
|
5,3
|
||||||
4,3
|
4,3
|
||||||
|
7,3
|
||||||
1,45
|
1,45
|
||||||
3,44
|
3,44
|
||||||
2,44
|
2,44
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user