This commit is contained in:
2026-04-14 09:01:41 +02:00
parent 9e7d9084f2
commit ff03794462
3 changed files with 10 additions and 7 deletions

11
.env
View File

@@ -1,6 +1,5 @@
NOCODB_BASE_URL = "https://dbtest.kaelstudio.tech/api/v2/tables/" NOCODB_BASE_URL=https://dbtest.kaelstudio.tech/api/v2/tables/
TABLE_BANNIES_ID = "m7mwhc3qnlmgahy" TABLE_BANNIES_ID=m7mwhc3qnlmgahy
TABLE_HISTORY_ID = "m65949r27wwrawn" TABLE_HISTORY_ID=m65949r27wwrawn
NOCODB_TOKEN = "dbgK7YJNZuW2mTK4O3umr9j08sr9GwjaKZj5cN5p" # Remplacez par votre token valide NOCODB_TOKEN=dbgK7YJNZuW2mTK4O3umr9j08sr9GwjaKZj5cN5p
API_TOKEN=5724216572:AAFdyvymS-F39dsU3KcQhG3U3GXGCknRGNM
API_TOKEN = "5724216572:AAFdyvymS-F39dsU3KcQhG3U3GXGCknRGNM" # Remp

View File

@@ -15,7 +15,7 @@ API_TOKEN = os.getenv("API_TOKEN")
# --- CONFIGURATION --- # --- CONFIGURATION ---
st.set_page_config(page_title="ModoBot Admin", layout="wide") st.set_page_config(page_title="ModoBot Admin", layout="wide")
NOCODB_BASE_URL = "https://dbtest.kaelstudio.tech/api/v2/tables/" NOCODB_BASE_URL = os.getenv("NOCODB_BASE_URL", "https://dbtest.kaelstudio.tech/api/v2/tables/")
TABLE_BANNIES_ID = "m7mwhc3qnlmgahy" TABLE_BANNIES_ID = "m7mwhc3qnlmgahy"
TABLE_HISTORY_ID = "m65949r27wwrawn" TABLE_HISTORY_ID = "m65949r27wwrawn"
NOCODB_TOKEN = os.getenv("NOCODB_TOKEN", "dbgK7YJNZuW2mTK4O3umr9j08sr9GwjaKZj5cN5p") NOCODB_TOKEN = os.getenv("NOCODB_TOKEN", "dbgK7YJNZuW2mTK4O3umr9j08sr9GwjaKZj5cN5p")

View File

@@ -9,6 +9,8 @@ services:
command: python main.py command: python main.py
env_file: env_file:
- .env - .env
extra_hosts:
- "dbtest.kaelstudio.tech:host-gateway"
# Service du Dashboard Streamlit # Service du Dashboard Streamlit
dashboard: dashboard:
@@ -20,3 +22,5 @@ services:
command: streamlit run dashboard.py --server.port 8599 --server.address 0.0.0.0 command: streamlit run dashboard.py --server.port 8599 --server.address 0.0.0.0
env_file: env_file:
- .env - .env
extra_hosts:
- "dbtest.kaelstudio.tech:host-gateway"