-
Notifications
You must be signed in to change notification settings - Fork 0
configuration
Axel Schwab edited this page Mar 12, 2024
·
10 revisions

-
WINSLOW_WORK_DIRECTORYAbsolut path to the working directory that has to be on a nfs- Example
/winslow/workdirectory/that/is/on/nfs
- Example
-
WINSLOW_NO_STAGE_EXECUTIONstage execution, act as observer / web-accessor-
Values-
1disable -
0enable stage execution, act as observer / web-accessor
-
-
-
WINSLOW_NO_WEB_APIREST/WebSocket-API (no longer starts Spring Boot)-
Values-
1disable -
0enables
-
-
-
WINSLOW_ROOT_USERSusers with root access
-
WINSLOW_DEV_ENVauth and allows root access to all resources-
Values-
truedisables -
falseenables
-
-
-
WINSLOW_DEV_REMOTE_USERusername to assign to (unauthorized) requests -
WINSLOW_DEV_ENV_IPpublicly visible IP of the WEB-UI- Example: 192.168.1.178
-
WINSLOW_NO_GPU_USAGEaccess to GPUs-
Values-
0disables -
1enables
-
-
Install nfs-kernel-server: sudo apt install nfs-kernel-server and update /etc/export:
/path/to/nfs-export *(rw,no_root_squash,all_squash,fsid=1,anonuid=0,anongid=0) 172.0.0.0/8(rw,no_root_squash,all_squash,fsid=1,anonuid=0,anongid=0)
/path/to/nfs-export/run *(rw,no_root_squash,all_squash,fsid=2,anonuid=0,anongid=0) 172.0.0.0/8(rw,no_root_squash,all_squash,fsid=2,anonuid=0,anongid=0)
Add to /etc/fstab an entry to mount the nfs directory
<your-pc-name>:/path/to/nfs-export /home/<username>/path/to/nfs-mount nfs noauto 0 0
# winslow/run store very small temporary files, making it a tmpfs makes it faster (ram-fs)
tmpfs /path/to/nfs-export/run tmpfs size=1G,mode=760,noauto 0 0
Run the following script (./start-nfs-server.sh):
#!/bin/bash
sudo mount nfs-export/run
sudo service nfs-kernel-server restart
sleep 5
sudo mount nfs-mount