edit docker compose
This commit is contained in:
parent
0294cc6026
commit
d4fe06e4dc
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ __pycache__/
|
|||||||
*.log
|
*.log
|
||||||
var/run/*
|
var/run/*
|
||||||
!var/run/.gitkeep
|
!var/run/.gitkeep
|
||||||
|
*.swp
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
services:
|
||||||
webapp:
|
webapp:
|
||||||
build:
|
build:
|
||||||
@ -10,7 +9,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DEBUG=false
|
- DEBUG=false
|
||||||
- REVERSE_PROXY_MODE=false
|
- REVERSE_PROXY_MODE=false
|
||||||
- LX_FILE=./var/run/lxfile
|
- PORT=5000
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
# - /home/pi/.config/lxsession/LXDE-pi/autostart:./var/run/lxfile
|
- ${LX_FILE-./var/run/dummy}:/app/var/run/lxfile
|
||||||
|
ports:
|
||||||
|
- "${PORT}:5000"
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
version: '3.7'
|
|
||||||
services:
|
services:
|
||||||
webapp:
|
webapp:
|
||||||
container_name: obscreen
|
container_name: obscreen
|
||||||
@ -7,7 +6,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DEBUG=false
|
- DEBUG=false
|
||||||
- REVERSE_PROXY_MODE=false
|
- REVERSE_PROXY_MODE=false
|
||||||
- LX_FILE=/app/var/run/lxfile
|
- PORT=5000
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
- /home/pi/.config/lxsession/LXDE-pi/autostart:/app/var/run/lxfile
|
- ${LX_FILE-./var/run/dummy}:/app/var/run/lxfile
|
||||||
|
ports:
|
||||||
|
- "${PORT}:5000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user