Version 10.2.5+
mysite directory. Do not uninstall and reinstall the application, as this may result in database data loss.sudo su in the terminal first to switch to root user.# unzip easyTimePro-10.2.5-linux-x64.zip
# cd easyTimePro-10.2.5-linux-x64
# chmod +x setup.sh
# bash setup.sh install
# bash setup.sh install --port 8000
# docker compose up -d --build
| Command | Description |
|---|---|
bash setup.sh install | Install and start all services |
bash setup.sh install --port <port> | Install with custom port |
bash setup.sh status | Check service status |
bash setup.sh start | Start all services |
bash setup.sh stop | Stop all services |
bash setup.sh restart | Restart all services |
bash setup.sh set-port --port <port> | Change web port (need to restart nginx) |
# Check service status
# docker compose ps
# Stop all services
# docker compose down
# Start all services
# docker compose up -d
# Start services (without rebuilding)
# docker compose start
# Stop services (keep containers)
# docker compose stop
# Restart all services
# docker compose restart
# Check logs for a specific service
# docker compose logs service_name
# Example: docker compose logs web
# Save logs to a file
# docker compose logs service_name > log_name.txt
# Example: docker compose logs web > web_logs.txt
Service Names: beat, worker, web, redis, nginx, postgres
attsite.ini file.[DATABASE] section, fill in the database configuration:
[DATABASE]
# database configure
# supported engine type: mysql/oracle/postgresql
ENGINE=mysql
NAME=easytime_linux
USER=root
PASSWORD=my_secrete_password
PORT=3306
HOST=192.168.10.1
# docker compose exec web bash
# python ConnDb.py
Example output:
[root@localhost EasyTimePro]# docker compose exec web bash
root@0d261ca84e24:/app# python ConnDb.py
mac=0242ac150005
mysql connection is successful
root@0d261ca84e24:/app# exit
Alternatively, check logs:
# docker compose logs web
When connecting to Oracle, you can use either SID or Service Name. When using Service Name, prefix it with SERVICE_NAME_:
ENGINE=oracle
NAME=SERVICE_NAME_orcl
USER=sys
PASSWORD=my_secrete_password
PORT=1521
HOST=192.168.10.1
The default port is 80. There are two ways to change it:
set-port command RecommendedThis is the easiest way — no manual file editing required. For example, change port to 8090:
# bash setup.sh set-port --port 8090
This command will:
web_port in the .env filedocker compose down && docker compose up -dIf you prefer to edit the file manually:
.env file in the project root folderweb_port=8090
docker compose down
docker compose up -d
web_port requires recreating the nginx container (using docker compose down + docker compose up -d), as docker compose restart alone will not apply the new port mapping. Rebuilding Docker images is NOT required.
After changing the port, access the application at: http://127.0.0.1:<web_port> (replace <web_port> with the port configured in .env).
By default, the system only supports HTTP access and does not include HTTPS support. To enable HTTPS, you need to make the following configurations.
Edit docker-compose.yml and configure the nginx service ports:
443) is the external port that users will access. You can modify this port as needed.8443) is the internal container port. This must not be changed as nginx is configured to listen on port 8443.nginx:
ports:
- "${web_port:-80}:8080" # HTTP port (external:internal)
- "443:8443" # HTTPS port (external:internal, modify left side as needed)
volumes:
- .:/app
- ./certs:/app/certs:ro # Certificate files mount
If you only want to use HTTPS, remove the HTTP port mapping:
nginx:
ports:
- "443:8443" # HTTPS port only (modify left side as needed)
volumes:
- .:/app
- ./certs:/app/certs:ro # Certificate files mount
Place your SSL certificate files in the certs/ folder:
certs/server.crt — SSL Certificatecerts/server.key — SSL Private KeyThe system includes default test certificate files (certs/server.crt and certs/server.key) for testing purposes.
After making the configuration changes, restart the services:
docker compose down
docker compose up -d
Once configured, access your application via HTTPS. If you use the default port mapping "443:8443", access via:
https://your-domain.com
The port 443 is the default HTTPS port, so it can be omitted from the URL.
If you configured a different external port (e.g., "8444:8443"), access via:
https://your-domain.com:8444
This section covers common issues and important considerations for using easyTimePro/easyWDMS.
For production use, obtain an SSL certificate from a trusted Certificate Authority (CA) instead of using self-signed certificates.
When installing for the first time, wait 1–2 minutes after installation before logging in to avoid 502 Bad Gateway errors.
If you encounter a 403 Forbidden error when logging in, it may be related to CSRF protection. In this case, you need to configure CSRF_TRUSTED_DOMAINS in the [SYS] section of the attsite.ini file.
Configuration Example:
[SYS]
CSRF_TRUSTED_DOMAINS=https://your-domain.com:8444,https://10.10.10.201:8443
Make sure to:
https://your-domain.com:8444 with your actual domain and porthttps://10.10.10.201:8443 with your server's IP address and port# docker compose restart web
| Issue | Cause | Solution |
|---|---|---|
| 502 Bad Gateway | Application not fully started | Wait 1–2 minutes after installation before accessing |
| 403 Forbidden | CSRF protection blocking request | Configure CSRF_TRUSTED_DOMAINS in attsite.ini |