set new port

This commit is contained in:
2025-09-17 09:32:18 +03:00
parent 14fbcdb59e
commit 09fcf4ffb7
4 changed files with 7 additions and 7 deletions

View File

@@ -19,11 +19,11 @@ COPY client/ ./client/
RUN mkdir -p /app/uploads RUN mkdir -p /app/uploads
ENV FLET_ENTRY=client/main.py \ ENV FLET_ENTRY=client/main.py \
APP_PORT=5000 \ APP_PORT=5555 \
API_BASE_URL=https://api.example.com API_BASE_URL=https://api.example.com
EXPOSE 5000 EXPOSE 5555
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD curl -fsS http://localhost:5000/ || exit 1 HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD curl -fsS http://localhost:5555/ || exit 1
CMD ["python", "client/main.py"] CMD ["python", "client/main.py"]

View File

@@ -46,5 +46,5 @@ ft.app(
assets_dir="assets", assets_dir="assets",
upload_dir="uploads", upload_dir="uploads",
view=ft.WEB_BROWSER, view=ft.WEB_BROWSER,
port=5000 port=5555
) )

View File

@@ -50,13 +50,13 @@ services:
volumes: volumes:
- solardb_uploads:/app/uploads - solardb_uploads:/app/uploads
expose: expose:
- "5000" - "5555"
depends_on: depends_on:
- solardb-api - solardb-api
networks: networks:
- reverse-proxy - reverse-proxy
healthcheck: healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:5000/"] test: ["CMD", "curl", "-fsS", "http://localhost:5555/"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3

View File

@@ -1 +1 @@
{"_default": {"2": {"test": "abcd"}, "3": {"test": "abcdefg"}, "4": {"test23": "abcd"}, "5": {"test23": "abcd"}, "6": {"abcd": "test"}, "7": {"test": "foaie ferde"}, "8": {"test": "abcdefg", "test2": {"abcderfg": "1234"}}, "9": {"test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "10": {"test": "abknojncd"}, "11": {"test": "abcuihdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "12": {"boby": 10, "test": "abknojncd"}, "13": {"test": "abcuihdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "14": {"id": 9, "test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "15": {"id": 90, "test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "16": {"test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "17": {"doc_id": 9, "test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "18": {"doc_id": 9, "test": "abcdefg", "test2": {"rrrr": ["1234", "99543"]}}, "19": {"test2": {"abcderfg": ["1234", "99543"]}}, "20": {"test": "abcdefgh"}}} {"_default": {"2": {"test": "abcd"}, "3": {"test": "abcdefg"}, "4": {"test23": "abcd"}, "5": {"test23": "abcd"}, "6": {"abcd": "test"}, "7": {"test": "foaie ferde"}, "8": {"test": "abcdefg", "test2": {"abcderfg": "1234"}}, "9": {"test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "10": {"test": "abknojncd"}, "11": {"test": "abcuihdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "12": {"boby": 10, "test": "abknojncd"}, "13": {"test": "abcuihdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "14": {"id": 9, "test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "15": {"id": 90, "test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "16": {"test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "17": {"doc_id": 9, "test": "abcdefg", "test2": {"abcderfg": ["1234", "99543"]}}, "18": {"doc_id": 9, "test": "abcdefg", "test2": {"rrrr": ["1234", "99543"]}}, "19": {"test2": {"abcderfg": ["1234", "99543"]}}, "20": {"test": "red"}}}