docker run -it --rm --name simple-test-server -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/tim0-12432/simple-test-server-2:latestThe SMB tab allows you to quickly spin up a Samba file server for testing file sharing protocols. It uses the ghcr.io/servercontainers/samba:smbd-only-latest Docker image and exposes ports 139 and 445 for SMB/CIFS connectivity. Create an SMB container through the web interface to test file sharing scenarios, monitor connection logs, and manage the server lifecycle.
During frontend development the Vite dev server may run on a different port than the backend. You can override the backend base URL used by the frontend by setting the environment variable VITE_BACKEND_URL before starting the dev server. Example:
# point frontend dev server to a backend running on port 8080
VITE_BACKEND_URL=http://localhost:8080 npm run devIf VITE_BACKEND_URL is not set, the frontend defaults to http://localhost:8000 in development mode and window.location.origin in production builds.
Backend Tests:
go test ./...
go test -race ./... # with race detectionFrontend Tests:
cd frontend
npm test # or bun test
npm run test # watch modeConfigure the application using an app.env file or environment variables:
HOST- Server host (default: 0.0.0.0)PORT- Server port (default: 8000)ENV- Environment mode (default: PROD)ADMIN_USER- Database admin email (default: admin@hosting.test)ADMIN_PASS- Database admin password (default: pleaseChange123!)UPLOAD_MAX_BYTES- Max file upload size in bytes (default: 10MB)
Required: Docker socket access (/var/run/docker.sock) for container management.