Updated folder structrue and README

This commit is contained in:
Anders Knutsen 2025-07-25 10:32:23 +02:00
parent cad601c5cf
commit b05d4f143a
5 changed files with 17 additions and 10 deletions

View File

@ -2,16 +2,23 @@ First working TCP SIA-DC09 logger. Logs to mariadb.
No frontend, just a backend with mariadb and a TCP server that parses SIA-DC09 protocol data. No frontend, just a backend with mariadb and a TCP server that parses SIA-DC09 protocol data.
How to run:
1. Install docker and docker compose.
2. Modify docker-compose.yml to fit your needs, remember to change passwords!
3. Run "docker compose build --no-cache" in root directory.
4. Run "docker compose up -d" to start
Current folder structure: Current folder structure:
``` ```
├── backend
│ └── tcp_sia_server.py
├── docker-compose.yml ├── docker-compose.yml
├── Dockerfile ├── Dockerfile
├── frontend ├── frontend
│ └── index.html │ └── index.html
├── nginx.conf ├── nginx
│ └── nginx.conf
├── README.md ├── README.md
├── requirements.txt ├── requirements.txt
├── tcp_sia_server.py └── sia-tester.py
└── tester.py
``` ```

View File

@ -17,7 +17,7 @@ services:
image: nginx:stable image: nginx:stable
volumes: volumes:
- ./frontend:/usr/share/nginx/html:ro - ./frontend:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
ports: ports:
- "80:80" - "80:80"
depends_on: depends_on: