Skip to content

Commit

Permalink
Update Dockerfile (gitpod-io#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogendra authored Nov 24, 2023
1 parent 23c25a6 commit a6072be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chunks/tool-yugabytedb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ ENV WEB_PORT=7000
ENV TSERVER_WEB_PORT=9000
ENV YSQL_API_PORT=13000
ENV YCQL_API_PORT=12000
ENV YUGABYTED_UI=15433

# re-initialization is automatically handled
RUN echo "\n# yugabytedb start command" >> /home/gitpod/.bashrc.d/100-yugabyedb-launch
RUN echo "[[ -f \${GITPOD_REPO_ROOT}/.nopreload ]] || yugabyted start --base_dir=$STORE --listen=$HOST > /dev/null" >> /home/gitpod/.bashrc.d/100-yugabyedb-launch

RUN chmod +x /home/gitpod/.bashrc.d/100-yugabyedb-launch

EXPOSE ${YSQL_PORT} ${YCQL_PORT} ${WEB_PORT} ${TSERVER_WEB_PORT} ${YSQL_API_PORT} ${YCQL_API_PORT}
EXPOSE ${YSQL_PORT} ${YCQL_PORT} ${WEB_PORT} ${TSERVER_WEB_PORT} ${YSQL_API_PORT} ${YCQL_API_PORT} ${YUGABYTED_UI}

0 comments on commit a6072be

Please sign in to comment.