supervisord

This commit is contained in:
Mateusz Gruszczyński
2025-11-01 21:03:38 +01:00
parent 616153b8f7
commit 8d88080c7f
2 changed files with 4 additions and 7 deletions

View File

@@ -1,4 +0,0 @@
.PHONY: install
install:
@pip install -r requirements.txt

View File

@@ -8,15 +8,16 @@ services:
ports: ports:
- "15000:5000" - "15000:5000"
- "80:80" - "7980:80"
- "443:443" - "7443:443"
- "8404:8404" - "8404:8404"
volumes: volumes:
- ./config:/app/config - ./config:/app/config
- ./haproxy:/etc/haproxy - ./haproxy:/etc/haproxy
- ./logs:/var/log - ./logs:/var/log
- ./ssl:/app/ssl
environment: environment:
- FLASK_ENV=production - FLASK_ENV=production
- FLASK_APP=app.py - FLASK_APP=app.py