README: simplify docker actions #8

Closed
opened 2024-07-09 20:10:56 +02:00 by oysteikt · 0 comments
Owner

This part could be more easily done using port forwarding, please rewrite

cp ./example-config.toml ./config.toml
DOCKER_IP_ADDRESS="$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mariadb)"
sed -i "s/host = \"localhost\"/host = \"${DOCKER_IP_ADDRESS}\"/" ./config.toml
This part could be more easily done using port forwarding, please rewrite ```bash cp ./example-config.toml ./config.toml DOCKER_IP_ADDRESS="$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mariadb)" sed -i "s/host = \"localhost\"/host = \"${DOCKER_IP_ADDRESS}\"/" ./config.toml ```
oysteikt added the
feature request
label 2024-07-28 15:25:33 +02:00
oysteikt added this to the Initial release milestone 2024-08-06 02:05:22 +02:00
oysteikt removed the
feature request
label 2024-08-18 15:23:12 +02:00
Sign in to join this conversation.
No description provided.