fix: update deployment scripts and resolve backend API communication issue

This commit is contained in:
dido committed 2026-09-14 15:52:11 +03:00
1 parent ae023525ec
commit 441560a910
14 files changed
+61 -66

No files matched your search

+7 -7
View File
@@ -1,11 +1,11 @@
services:
strixwebssh:
webssh:
build:
context: ..
dockerfile: deployment/Dockerfile
container_name: strixwebssh-backend
container_name: webssh-backend
restart: unless-stopped
# StrixWebSSH runs internal services; integrated Caddy will expose port 8080 to the host
# WebSSH runs internal services; integrated Caddy will expose port 8080 to the host
ports:
- "8080:8080"
environment:
@@ -13,7 +13,7 @@ services:
- PYTHONUNBUFFERED=1
- LOG_LEVEL=INFO
# Configure users: format is username:password,username2:password2
- STRIXWEBSSH_USERS=admin:admin
- WEBSSH_USERS=admin:admin
# Max upload size (supports format like "100M" for 100MB or "50M" for 50MB)
- MAX_UPLOAD_SIZE=30M
# Session Recording Configuration
@@ -34,9 +34,9 @@ services:
cpus: '0.25'
memory: 128M
volumes:
- strixwebssh_data:/data
- webssh_data:/data
# Optionally expose code to other services (read-only)
# - ./:/srv/strixwebssh:ro
# - ./:/srv/webssh:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
interval: 30s
@@ -46,4 +46,4 @@ services:
volumes:
strixwebssh_data:
webssh_data: