Enclume : editeur CLAPI, catalogue de 26 packs, empaquetage Docker
This commit is contained in:
1 parent
aa71251de0
commit
de7a691861
59 files changed
+4466
-205
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Point d'entree de Centreon Forge.
|
||||
|
||||
python3 run.py # http://127.0.0.1:8080
|
||||
ENCLUME_PORT=9000 python3 run.py
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from enclume.webapp import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(
|
||||
host=os.environ.get("ENCLUME_HOST", "127.0.0.1"),
|
||||
port=int(os.environ.get("ENCLUME_PORT", "8080")),
|
||||
debug=os.environ.get("ENCLUME_DEBUG") == "1",
|
||||
)
|
||||
Reference in new issue
Block a user