diff --git a/deployments/platform-dev/docker-compose.yml b/deployments/platform-dev/docker-compose.yml index 34e2e5037..7553b4f6d 100644 --- a/deployments/platform-dev/docker-compose.yml +++ b/deployments/platform-dev/docker-compose.yml @@ -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: diff --git a/tool/forestadmin/Dockerfile b/tool/forestadmin/Dockerfile index 83e00bbbd..a25d53c27 100644 --- a/tool/forestadmin/Dockerfile +++ b/tool/forestadmin/Dockerfile @@ -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