From e87ea06cbcd172563a0db8deeff35055fe01f9a0 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Mon, 28 Apr 2025 14:26:39 +0800 Subject: [PATCH] update deploy stack --- compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index 5aa58d31..53369527 100644 --- a/compose.yml +++ b/compose.yml @@ -3,13 +3,14 @@ version: '3.8' services: router: build: . - command: ["fastapi", "dev", "main.py", "--host", "0.0.0.0", "--port", "8000"] - # ports: - # - 8000:8000 + command: ["/.venv/bin/fastapi", "run", "router", "--host", "0.0.0.0"] + ports: + - 8001:8000 volumes: - .:/app env_file: - .env + tor: image: goldy/tor-hidden-service:latest volumes: