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.
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:
```
├── docker-compose.yml
├── Dockerfile
├── frontend
│ └── index.html
├── nginx.conf
├── README.md
├── requirements.txt
├── tcp_sia_server.py
└── tester.py
├── backend
│ └── tcp_sia_server.py
├── docker-compose.yml
├── Dockerfile
├── frontend
│ └── index.html
├── nginx
│ └── nginx.conf
├── README.md
├── requirements.txt
└── sia-tester.py
```

View File

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