From ace075c80403c6b7ca2361fb8f6e51657be9dc24 Mon Sep 17 00:00:00 2001 From: Matthos Denys Date: Tue, 2 Mar 2021 16:56:40 +0300 Subject: [PATCH] test --- mysql.yaml | 2 +- mysql/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql.yaml b/mysql.yaml index 63ff9a8..c6833f6 100755 --- a/mysql.yaml +++ b/mysql.yaml @@ -13,7 +13,7 @@ spec: name: mysql selector: app: mysql - clusterIP: None + clusterIP: 10.99.10.10 --- apiVersion: apps/v1 kind: Deployment diff --git a/mysql/Dockerfile b/mysql/Dockerfile index bea0471..8da43a4 100755 --- a/mysql/Dockerfile +++ b/mysql/Dockerfile @@ -1,9 +1,9 @@ -FROM alpine:3.12 -RUN echo "root:root" | chpasswd +FROM alpine:3.13.3 RUN apk update RUN apk add mariadb mariadb-common mariadb-client COPY my.cnf /etc/my.cnf EXPOSE 3306 COPY start.sh /start.sh RUN chmod +x /start.sh +VOLUME ["/var/lib/mysql"] CMD ["/start.sh"] \ No newline at end of file