Skip to content

Commit

Permalink
Remove MYSQL_ROOT_HOST env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
arifszn committed Aug 6, 2023
1 parent d4684ef commit 631b318
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
7 changes: 1 addition & 6 deletions runtimes/npm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ ARG VAIL_NODE_VERSION
WORKDIR /var/www/html

ENV DEBIAN_FRONTEND noninteractive
ENV TZ=UTC

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update \
&& apt-get install -y gnupg gosu curl ca-certificates zip unzip git \
Expand All @@ -33,6 +30,4 @@ RUN npm install
COPY node_modules/vail/runtimes/start-container /usr/local/bin/start-container
RUN chmod +x /usr/local/bin/start-container

ENTRYPOINT ["start-container"]

CMD echo "Vail is ready to be used!"
ENTRYPOINT ["start-container"]
3 changes: 0 additions & 3 deletions runtimes/yarn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ ARG VAIL_NODE_VERSION
WORKDIR /var/www/html

ENV DEBIAN_FRONTEND noninteractive
ENV TZ=UTC

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update \
&& apt-get install -y gnupg gosu curl ca-certificates zip unzip git \
Expand Down
3 changes: 1 addition & 2 deletions stubs/mysql.stub
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
mysql:
image: 'mysql/mysql-server:8.0'
ports:
- '${FORWARD_DB_PORT:-3306}:3306'
- '${DB_PORT:-3306}:${DB_PORT:-3306}'
environment:
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
MYSQL_ROOT_HOST: "%"
MYSQL_DATABASE: '${DB_DATABASE}'
MYSQL_USER: '${DB_USERNAME}'
MYSQL_PASSWORD: '${DB_PASSWORD}'
Expand Down

0 comments on commit 631b318

Please sign in to comment.