Fix mysql-server IP address because podman DNS does not work with an internal network.
This commit is contained in:
parent
bf1f38fce4
commit
7575384754
@ -57,6 +57,8 @@
|
||||
state: present
|
||||
network:
|
||||
- mysqlnet
|
||||
# We need to fix the IP address because podman DNS does not work with an internal network.
|
||||
ip: 10.89.1.2
|
||||
volume:
|
||||
- /mnt/volumes/mysql-server_data/data:/var/lib/mysql:z
|
||||
- /mnt/volumes/mysql-server_dumps/data:/mnt/dumps:z
|
||||
|
@ -6,6 +6,8 @@
|
||||
# and publishing ports on containers that are attached to mysqlnet
|
||||
# and other networks will not work unless all networks but one are internal.
|
||||
internal: true
|
||||
# We need to fix the subnet because podman DNS does not work with an internal network.
|
||||
subnet: 10.89.1.0/24
|
||||
become: true
|
||||
|
||||
- name: Create /usr/local/docker-mounted-files/docker-mysql-server-stack directory
|
||||
|
Loading…
Reference in New Issue
Block a user