Web Server to Service Kasapro
162
Kasapro Nginx is a reverse proxy with automatic SSL certificate generation for the Kasapro POS system. Part of the Kasapro POS suite designed for UMKM (small and medium enterprises) in Indonesia.
# Pull the image
docker pull sofyansolutions/kasapro-nginx:latest
# Or use specific version
docker pull sofyansolutions/kasapro-nginx:v1.0.0
This image is designed to be used as part of the complete Kasapro stack. It provides:
services:
nginx:
image: sofyansolutions/kasapro-nginx:${ERP_VERSION:-latest}
ports:
- "9444:80" # HTTP (redirects to HTTPS)
- "9443:443" # HTTPS
volumes:
- nginx_ssl_data:/etc/nginx/ssl
depends_on:
- frontend
- backend
See the complete installation guide for full docker-compose setup.
SSL certificates are automatically generated on first start:
nginx_ssl_data)To trust the self-signed certificate:
https://localhost:9443/ca.crt to download CA certificateca.crt in your browser/OS trusted certificate storeTo use your own SSL certificates:
Mount your certificate files to /etc/nginx/ssl/:
volumes:
- ./ssl/cert.pem:/etc/nginx/ssl/cert.pem
- ./ssl/key.pem:/etc/nginx/ssl/key.pem
The container will detect existing certificates and use them
80 - HTTP port (redirects to HTTPS)443 - HTTPS port (main access point)9444:80 (external:internal)9443:443 (external:internal)Change via environment variables:
NGINX_HTTP_PORT - External HTTP port (default: 9444)NGINX_PORT - External HTTPS port (default: 9443)nginx_ssl_data - SSL certificates storage (required)
/healthzThe nginx container includes a health check endpoint:
curl http://localhost/healthz
/api/* - Routes to backend service/ - Routes to frontend service/healthz - Health check endpoint80 - HTTP (internal, redirects to HTTPS)443 - HTTPS (internal, main access)latest - Latest stable releasev1.0.0, v1.1.0, etc. - Versioned releasessha-abc123 - Development builds (commit SHA)If you see certificate warnings:
https://localhost:9443/ca.crtIf ports 9443 or 9444 are in use:
# Set custom ports
export NGINX_PORT=8443
export NGINX_HTTP_PORT=8444
docker compose -f docker-compose.selfhosted.yml up -d
Always use https:// protocol, not http://:
https://localhost:9443http://localhost:9443For complete installation guide, SSL setup, and troubleshooting:
sofyansolutions/kasapro repositorysofyansolutions/kasapro-backend - Backend API servicesofyansolutions/kasapro-frontend - Frontend web applicationSee the main Kasapro repository for license information.
Made with ❤️ for UMKM Indonesia
Kasapro - Kasa Professional untuk Toko Anda
Content type
Image
Digest
sha256:6233a1021…
Size
47.3 MB
Last updated
10 months ago
docker pull sofyansolutions/kasapro-nginx:v1.0.0