Skip to content

Commit 2463b8c

Browse files
committed
Adjusted mariadb config to listen on localhost.
1 parent 75f54f8 commit 2463b8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ RUN \
4646
# nginx always tries to open /var/lib/nginx/logs/error.log before reading
4747
# its configuration. Make sure it exists.
4848
mkdir -p /var/lib/nginx/logs && \
49-
ln -sf /config/log/nginx/error.log /var/lib/nginx/logs/error.log
49+
ln -sf /config/log/nginx/error.log /var/lib/nginx/logs/error.log && \
50+
# Make sure mariadb listen on port 3306
51+
sed-patch 's/^skip-networking/#skip-networking/' /etc/my.cnf.d/mariadb-server.cnf
5052

5153
# Install Nginx Proxy Manager.
5254
RUN \

0 commit comments

Comments
 (0)