edit docker compose

This commit is contained in:
jrk 2024-04-29 01:07:19 +02:00
parent 0294cc6026
commit d4fe06e4dc
3 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ __pycache__/
*.log
var/run/*
!var/run/.gitkeep
*.swp

View File

@ -1,4 +1,3 @@
version: '3'
services:
webapp:
build:
@ -10,7 +9,9 @@ services:
environment:
- DEBUG=false
- REVERSE_PROXY_MODE=false
- LX_FILE=./var/run/lxfile
- PORT=5000
volumes:
- .:/app
# - /home/pi/.config/lxsession/LXDE-pi/autostart:./var/run/lxfile
- ${LX_FILE-./var/run/dummy}:/app/var/run/lxfile
ports:
- "${PORT}:5000"

View File

@ -1,4 +1,3 @@
version: '3.7'
services:
webapp:
container_name: obscreen
@ -7,7 +6,9 @@ services:
environment:
- DEBUG=false
- REVERSE_PROXY_MODE=false
- LX_FILE=/app/var/run/lxfile
- PORT=5000
volumes:
- .:/app
- /home/pi/.config/lxsession/LXDE-pi/autostart:/app/var/run/lxfile
- ${LX_FILE-./var/run/dummy}:/app/var/run/lxfile
ports:
- "${PORT}:5000"