updated whit entrypoint
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: digi-server:latest
|
||||
image: digiserver:latest
|
||||
ports:
|
||||
- "80:5000"
|
||||
- "8880:5000"
|
||||
environment:
|
||||
- FLASK_APP=app.py
|
||||
- FLASK_RUN_HOST=0.0.0.0
|
||||
@@ -14,5 +12,4 @@ services:
|
||||
volumes:
|
||||
- /home/pi/Desktop/digi-server/db:/app/instance
|
||||
- /home/pi/Desktop/digi-server/static:/app/static/uploads
|
||||
command: gunicorn -w 4 -b 0.0.0.0:5000 app:app
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user