Skip to content

Updated docker setup#23

Open
cableman wants to merge 15 commits intoOS2iot:masterfrom
itk-dev:feature/docker-setup
Open

Updated docker setup#23
cableman wants to merge 15 commits intoOS2iot:masterfrom
itk-dev:feature/docker-setup

Conversation

@cableman
Copy link
Copy Markdown

@cableman cableman commented Jan 12, 2026

  • Optimized and standardized Dockerfile's
  • Removed docker exposed ports (no need to expose ports to the whole network)
  • Add go-task file for ease-of-use
  • Updated README, minor typos and changed docker-compose to docker compose
  • Lots of minor changes to defaults to get the contains running
  • Added simple nginx to allow using frontend without mapping ports to localhost
  • Added healt checks to docker compose
  • Removed out-dated helm charts (see https://github.com/itk-dev/OS2IoT-helm - current location)

Linked to OS2iot/OS2iot-frontend#213

@cableman cableman marked this pull request as ready for review January 14, 2026 13:46
@cableman cableman changed the title WIP: Updated docker setup Updated docker setup Jan 19, 2026
- "8768:8000"
- "8768"

os2iot-backend:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting the following exception when attempting to start the backend container:

Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (node:fs:738:3)
    at tryReadSync (node:fs:438:20)
    at Object.readFileSync (node:fs:484:19)
    at callback (/tmp/os2iot/backend/src/services/mqtt/mqtt.service.ts:35:31)
    at done (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/pem.js:316:1)
    at finalCallback (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/pem.js:324:1)
    at deleteSeries (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/helper.js:130:1)
    at Object.deleteTempFiles (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/helper.js:133:1)
    at callback (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/pem.js:323:1)
    at callback (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/openssl.js:91:1)
    at finalCallback (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/openssl.js:243:1)
    at deleteSeries (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/helper.js:130:1)
    at myCallback (/tmp/os2iot/backend/node_modules/pem/webpack:/pem/lib/helper.js:121:1)
    at FSReqCallback.oncomplete (node:fs:192:23)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seams that you have a permission issue on the machine you are trying to run it on.

README.md Outdated
```
The first line already exists
5. Once the helm chart has redeployed restart the network server to enable the new module. No newline at end of file
See https://github.com/itk-dev/OS2IoT-helm
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repository should exist in OS2iot, and this reference should point there

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It have been moved

@cableman
Copy link
Copy Markdown
Author

More changes on the way: itk-dev#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants