Skip to content

Commit

Permalink
fix: repair forestadmin dev deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Mar 12, 2020
1 parent f27ffdd commit b92b066
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions deployments/platform-dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,18 @@ services:
forestadmin:
image: pathwar/forestadmin:latest
environment:
# specific to prod
- VIRTUAL_HOST=admin-dev.pathwar.land
- VIRTUAL_PORT=3310
- APPLICATION_HOST=admin-dev.pathwar.land
- APPLICATION_PORT=3310
- DATABASE_URL=mysql://$MYSQL_USER:$MYSQL_PASSWORD@db:3306/pathwar
- DATABASE_SSL=false
# loaded from .env
- FOREST_AUTH_SECRET
- FOREST_ENV_SECRET
ports:
- "3310:3310"
volumes:
- ../../tool/forestadmin/:/usr/src/app
networks:
- service-proxy
- internal

volumes:
Expand Down
2 changes: 1 addition & 1 deletion tool/forestadmin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:10-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install lumber-cli -g -s
COPY package*.json ./
RUN npm install -s
COPY . .
EXPOSE 3310
Expand Down

0 comments on commit b92b066

Please sign in to comment.