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:
@@ -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>
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user