Updated folder structrue and README
This commit is contained in:
parent
cad601c5cf
commit
b05d4f143a
13
README.md
13
README.md
|
|
@ -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:
|
||||
```
|
||||
├── backend
|
||||
│ └── tcp_sia_server.py
|
||||
├── docker-compose.yml
|
||||
├── Dockerfile
|
||||
├── frontend
|
||||
│ └── index.html
|
||||
├── nginx.conf
|
||||
├── nginx
|
||||
│ └── nginx.conf
|
||||
├── README.md
|
||||
├── requirements.txt
|
||||
├── tcp_sia_server.py
|
||||
└── tester.py
|
||||
└── sia-tester.py
|
||||
```
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue