---
title: "Deploy epushserver"
description: "ESSL/ZKTeco ePush Server with PostgreSQL for biometric attendance devices"
category: "Authentication"
url: https://railway.com/deploy/epushserver
---

# Deploy epushserver

ESSL/ZKTeco ePush Server with PostgreSQL for biometric attendance devices

**[Deploy epushserver on Railway](https://railway.com/template/epushserver)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/epushserver/manifest.json

- **Creator:** Piyush Keshari's Projects
- **Category:** Authentication

## Template content

### epush-db https://devicons.railway.app/postgres

- **Source:** https://github.com/KeshariPiyush24/epushserver-containerized

### epushserver https://devicons.railway.app/server

- **Source:** https://github.com/KeshariPiyush24/epushserver-containerized
- **Health check:** /iclock/

## Documentation

# Deploy and Host epushserver on Railway

epushserver is eSSL's ePush Server, a Java/Tomcat web app that receives attendance logs pushed by eSSL/ZKTeco biometric devices over ADMS. It stores punches in PostgreSQL and gives you a web UI to manage devices, employees and logs. This template runs the app and a PostgreSQL database as two services.

## About Hosting epushserver

Hosting epushserver means running two services side by side: a Tomcat 9 (JDK 8) container serving the eSSL app at `/iclock/`, and a PostgreSQL container that imports the vendor schema on first boot. Railway builds both from Dockerfiles, generates the database password, and wires the app to the database over the private network. Each service gets its own persistent volume: the database files, and the device files and attendance photos. A public HTTPS domain serves the web UI, and a TCP proxy on port 8080 serves devices, which push over plain HTTP.

## Common Use Cases

- Central cloud endpoint for biometric attendance devices across multiple offices, factories or sites
- Backend for HR/payroll systems that read punch data straight from PostgreSQL (`devicelogs__` tables)
- Replacing an on-premise Windows ePush Server with a managed, container-based deployment

## Dependencies for epushserver Hosting

- Tomcat 9 / JDK 8 app service (built from the repo's root `Dockerfile`)
- PostgreSQL service (built from `db/Dockerfile`, with the eSSL schema baked in)
- eSSL biometric devices that support server push (ADMS)

### Deployment Dependencies

- Railway volumes: `/var/lib/postgresql/data` on `epush-db` and `/data` on `epushserver`
- Source repository: [KeshariPiyush24/epushserver-containerized](https://github.com/KeshariPiyush24/epushserver-containerized) (Dockerfiles, schema and the vendor manual)
- eSSL ePush Server [user manual](https://github.com/KeshariPiyush24/epushserver-containerized/blob/main/docs/ePushServer-manual.pdf)

### Implementation Details

After deploy, open `https:///iclock/` and log in with `root` / `root`. Change that password immediately (Admin &gt; User Info). Then add each device under Device Management &gt; Device Info. The Serial Number is mandatory and must match the device; for India use time zone `330`.

Point devices at the **TCP Proxy** host and port shown on the `epushserver` service (Settings &gt; Networking), not at the HTTPS domain. Railway picks the proxy port, so your devices must accept a hostname plus a custom port.

Variables you can change (all prefilled):

| Variable | Service | Purpose |
|---|---|---|
| `TZ` | epushserver | Time zone of the app and its logs, e.g. `Asia/Kolkata` |
| `JAVA_OPTS` | epushserver | JVM options, mainly the heap size (`-Xmx1g`) |
| `POSTGRES_DB` / `POSTGRES_USER` | epush-db | Database name and user, linked to the app automatically |

Volume sizes follow your Railway plan (Free and Trial 0.5 GB, Hobby 5 GB, Pro 50 GB) and can be increased later. Take regular `pg_dump` backups: volumes protect against restarts, not against deleting them.

## Why Deploy epushserver on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying epushserver on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [Keycloak](https://railway.com/deploy/mSwigX) — [2026-11-04] Keycloak with keywind theme + Apple & Discord providers
- [lua-protector](https://railway.com/deploy/lua-protector) — Test deployed my project first
- [bknd](https://railway.com/deploy/p4nTYL) — Feature-rich yet lightweight backend

Open this page in a browser: https://railway.com/deploy/epushserver
