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