add webui dockerfile
This commit is contained in:
23
docker-compose-webui.yaml
Normal file
23
docker-compose-webui.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
multicaster:
|
||||
container_name: multicast-webapp
|
||||
privileged: true # Grants full access to all devices (for serial access)
|
||||
restart: unless-stopped
|
||||
network_mode: service:wireguard
|
||||
ports:
|
||||
- "8501:8501"
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
ssh:
|
||||
- default=~/.ssh/id_ed25519 #lappi
|
||||
#- default=~/.ssh/id_rsa #raspi
|
||||
volumes:
|
||||
- "/dev/serial:/dev/serial"
|
||||
#devices:
|
||||
# - /dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_81BD14B8D71B5662-if00
|
||||
environment:
|
||||
LOG_LEVEL: INFO
|
||||
|
||||
# start the server and the frontend
|
||||
command: >
|
||||
python ./auracast/multicast_server.py & streamlit run ./auracast/server/multicast_frontend.py
|
||||
|
||||
Reference in New Issue
Block a user