1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-08 02:42:44 +00:00

chore: docker fix for SAS executable

This commit is contained in:
Saad Jutt
2022-02-11 14:30:25 +05:00
parent e3f5206758
commit 9a74ec545d
2 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
SAS_EXEC=<path to folder containing SAS executable 'sas'>
SAS_EXEC_PATH=<path to folder containing SAS executable>
SAS_EXEC_NAME=<name of SAS executable file>
PORT_API=<port for sasjs server (api)>
PORT_WEB=<port for sasjs web component(react)>
ACCESS_TOKEN_SECRET=<secret>

View File

@@ -14,14 +14,14 @@ services:
REFRESH_TOKEN_SECRET: ${REFRESH_TOKEN_SECRET}
AUTH_CODE_SECRET: ${AUTH_CODE_SECRET}
DB_CONNECT: mongodb://mongodb:27017/sasjs
SAS_PATH: /usr/server/sasexe
SAS_PATH: /usr/server/sasexe/${SAS_EXEC_NAME}
expose:
- ${PORT_API}
ports:
- ${PORT_API}:${PORT_API}
volumes:
- type: bind
source: ${SAS_EXEC}
source: ${SAS_EXEC_PATH}
target: /usr/server/sasexe
read_only: true
links: