Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/killer0071234/cybroscgiserver.docker
docker container for running the cybrotech scgi server in the docker envornmental
https://github.com/killer0071234/cybroscgiserver.docker
cybro cybrotech docker
Last synced: 30 days ago
JSON representation
docker container for running the cybrotech scgi server in the docker envornmental
- Host: GitHub
- URL: https://github.com/killer0071234/cybroscgiserver.docker
- Owner: killer0071234
- License: mit
- Created: 2021-12-31T13:35:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T18:27:08.000Z (about 2 years ago)
- Last Synced: 2024-10-19T07:16:06.001Z (3 months ago)
- Topics: cybro, cybrotech, docker
- Language: Dockerfile
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cybroscgiserver.docker
This is a docker container for running the cybrotech scgi server in a docker container![workflow](https://github.com/killer0071234/cybroscgiserver.docker/actions/workflows/docker-image.yml/badge.svg)
The CyBroScgiServer is used for communicating with PLCs from Cybrotech Ltd.
Supported PLCs:
- CyBro-2
- CyBro-3## Contains
- latest Python 3.8 required for CyBroScgiServer
- CyBroScgiServer v3.1.3 from http://www.cybrotech.com/ (directly loaded from cybrotech.com)
- example configuration file(s)## Requirements
- Docker
## Install and run
```
docker pull killer007/cybroscgiserver
docker run killer007/cybroscgiserver:latest -p 4000:4000/tcp -p 4080:80/tcp -p 8442:8442/udp
```## Usage
For detailed usage / valid system tags check the readme of CyBroScgiServer-v3.1.3.zip under
https://cybrotech.com/software/- web requests to SCGI socket with xml-answer (but without any http-header): http://[ip]:4000/?
Example: http://[ip]:4000/?sys.server_uptime -> returns the ScgiServer Uptime (including a tag description) formatted as xml
- web requests to nginx web server with xml-answer: http://[ip]/?
Example: http://[ip]/?sys.server_uptime -> returns the ScgiServer Uptime (including a tag description) formatted as xml
- Abus Push Messages (UDP) from the PLC shall go to: [ip]:8442The configuration file for the scgi server can be found under:
./config/config.iniFor a own configuration mount the config.ini file to:
/usr/local/bin/scgi_server/config.ini
In docker-compose:
```
volumes:
- "./config/config.ini:/usr/local/bin/scgi_server/config.ini"
```
On commandline add:
```
-v "./config/config.ini:/usr/local/bin/scgi_server/config.ini"
```The configuration file for the data logger can be found under:
./config/data_logger.xml
In docker-compose:
```
volumes:
- "./config/data_logger.xml:/usr/local/bin/scgi_server/data_logger.xml"
```
On commandline add:
```
-v "./config/data_logger.xml:/usr/local/bin/scgi_server/data_logger.xml"
```