Change priviledge
change port webgui
This commit is contained in:
jeanGaston 2024-01-30 10:45:43 +01:00
parent ce5e746266
commit 407f89a326
2 changed files with 4 additions and 6 deletions

View File

@ -12,5 +12,3 @@ RUN pip3 install --no-cache-dir bluepy
# Set the entry point # Set the entry point
CMD ["python", "main.py"] CMD ["python", "main.py"]
#Run as root
USER root

View File

@ -5,14 +5,14 @@ services:
build: build:
context: ./DataScraper context: ./DataScraper
dockerfile: ./DOCKERFILE dockerfile: ./DOCKERFILE
privileged: true
web-gui: web-gui:
build: build:
context: ./WebGui context: ./WebGui
dockerfile: ./DOCKERFILE dockerfile: ./DOCKERFILE
ports: ports:
- '80:5000' - '8080:5000'
privileged: true
database: database:
image: mariadb image: mariadb