Skip to content

Commit

Permalink
fix: add env vars to bhima docker
Browse files Browse the repository at this point in the history
Fixes an issue with the user/password not being synchronized between the
bhima and mysql containers.
  • Loading branch information
jniles committed May 14, 2024
1 parent e7afb25 commit 9071a22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM node:lts
# the requiredd page
RUN apt-get update && apt-get install -y \
ca-certificates fonts-liberation gconf-service \
libappindicator1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 \
libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 \
libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 \
libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 \
libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
Expand All @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \
WORKDIR /usr/src/app

# Copy source code
COPY . .
COPY --chown=node:node . .

# Install dependencies
RUN npm install && \
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
environment:
- REDIS_HOST=redis
- DB_HOST=mysql
- DB_USER=$DB_USER
- DB_PASS=$DB_PASS
depends_on:
- mysql
- redis
Expand Down

0 comments on commit 9071a22

Please sign in to comment.