Application for OakOS v5.0.X
Make sure that you are running the right version of Node locally. You will find the required version in the .nvmrc
file
If you are not running the same version (node -v
) then you will need to run
nvm install $(cat .nvmrc)
npm run rebuild
npm run dev
xhost +
docker-compose up --build
docker-compose down
{
"services": [
{
"image": "index.docker.io/oaklabs/app-demo-site:latest",
"environment": {
"PORT": "9001",
"API_KEY": "[secret api key]",
"DEMO_NAME": "my_demo",
"QRCODE_PORT": "9200",
"PORT": "9001",
"TZ": "America/Los_Angeles",
"PRINTER_NAME": "http://localhost:631/printers/TM-T88V"
}
}
]
}
Here are the possible environmental variable
API_KEY=g5YIWkepdZYBezKjsZywnp8IEXu2
DEMO_NAME=vashon
PORT=9001
QRCODE_PORT=8200
QRCODE_HOST=[Host Domain or IP]
QRCODE_LOCAL="true"
TZ=America/Los_Angeles
This snippet results can be seen in the application logs on the OakOS Dashboard