mirror of
https://gitlab.vegova.si/rkv/flex-discovery-proxy.git
synced 2025-05-15 16:20:32 +00:00
Dodan Dockerfile
This commit is contained in:
parent
fcc4398393
commit
7963237bc0
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM python:3-alpine
|
||||
|
||||
WORKDIR /opt/flex_proxy
|
||||
|
||||
COPY flex_proxy.py flex_proxy.py
|
||||
|
||||
EXPOSE 4996
|
||||
|
||||
CMD ["python", "./flex_proxy.py"]
|
@ -46,3 +46,9 @@ python3 client.py [ip address]
|
||||
|
||||
The default IP address is `localhost`.
|
||||
It can be changed by changing the `HOST` variable in `client.py` or by passing the IP address as an argument.
|
||||
|
||||
### Docker
|
||||
|
||||
Proxy strežnik lahko namestite tudi preko Docker containerja. Že zgrajene slike
|
||||
so na voljo na Gitlab Container Registeriju. Pod oznako `mikrotik` je zgrajen paket
|
||||
za ARM arhihekturo (ARM64 build še pride).
|
||||
|
1
client.py
Normal file → Executable file
1
client.py
Normal file → Executable file
@ -8,6 +8,7 @@
|
||||
# proxy and re-broadcasts all received packets.
|
||||
#
|
||||
# Author: Jakob Kordež, S52KJ
|
||||
# Docker: Žiga Kralj, S50ZK
|
||||
#
|
||||
######################################################
|
||||
|
||||
|
1
flex_proxy.py
Normal file → Executable file
1
flex_proxy.py
Normal file → Executable file
@ -9,6 +9,7 @@
|
||||
# over a TCP connection to all connected clients.
|
||||
#
|
||||
# Author: Jakob Kordež, S52KJ
|
||||
# Docker: Žiga Kralj, S50ZK
|
||||
#
|
||||
######################################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user