Skip to content

Commit

Permalink
Merge pull request #634 from rwakulszowa/update-setup-steps
Browse files Browse the repository at this point in the history
fix node version, update mysql lib name
  • Loading branch information
ad-m committed May 24, 2019
2 parents c8773e0 + 6e5077b commit d91bf85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .contrib/docker/Dockerfile.gulp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:latest
FROM node:8
WORKDIR /app
VOLUME /app
COPY .contrib/docker/docker-entrypoint.gulp.sh /docker-entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion .contrib/docker/Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /code
# Install python dependencies
ENV PYTHONUNBUFFERED 1
RUN apt-get update && apt-get install -y\
libmysqlclient-dev \
default-libmysqlclient-dev \
gcc \
build-essential \
curl
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: "password"
MYSQL_DATABASE: "poradnia"
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 20s
Expand Down
3 changes: 2 additions & 1 deletion docs/getting_up.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Obraz przygotowany dla środowiska Docker właściwy jest wyłącznie do pracy w

Uruchomienie::

$ docker-compose --build up
$ docker-compose build
$ docker-compose up

Po poprawnym uruchomieniu usług można przejść w przeglądarce pod adres ``http://localhost:8000``.

Expand Down

0 comments on commit d91bf85

Please sign in to comment.