portsettings für docker + cli noch angepasst. jetzt ist .env führend
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Successful in 5s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped

This commit is contained in:
br committed 2026-08-03 16:26:23 +02:00
1 parent a54f26f808
commit 0739de4b44
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -229,4 +229,4 @@ app = create_app()
if __name__ == '__main__': if __name__ == '__main__':
# This allows running the app directly with python app.py # This allows running the app directly with python app.py
# In production, use gunicorn or other WSGI servers # In production, use gunicorn or other WSGI servers
app.run(host='0.0.0.0', port=5000, debug=app.config['DEBUG']) app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 5000)), debug=app.config['DEBUG'])
+1 -1
View File
@@ -5,7 +5,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: formeleon-app container_name: formeleon-app
ports: ports:
- "5000:5000" - "${PORT:-5000}:5000"
volumes: volumes:
# Mount entire project directory for hot-reload in development # Mount entire project directory for hot-reload in development
# Exclude the virtual environment if it exists locally to prevent conflicts with container venv # Exclude the virtual environment if it exists locally to prevent conflicts with container venv