Compare commits
3 Commits
bed954bc35
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
226e142e3e | ||
|
|
e6a2001840 | ||
|
|
ed2c05d277 |
@@ -10,6 +10,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./src:/var/www/html
|
||||
- ./autoscript/:/var/log/sides/autoscript:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
depends_on:
|
||||
postgres:
|
||||
@@ -18,7 +19,7 @@ services:
|
||||
- tckdev_net
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pgrep -f php-fpm > /dev/null 2>&1 || exit 1"]
|
||||
test: ["CMD-SHELL", "grep -q php-fpm /proc/1/cmdline || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -69,7 +70,7 @@ services:
|
||||
networks:
|
||||
- tckdev_net
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q http://localhost/ -O /dev/null || exit 1"]
|
||||
test: ["CMD-SHELL", "test -f /var/run/nginx.pid"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -97,7 +98,7 @@ services:
|
||||
- tckdev_net
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q http://localhost:80/login -O /dev/null || exit 1"]
|
||||
test: ["CMD-SHELL", "wget http://localhost:80/login -O /tmp/hc 2>/dev/null; test -s /tmp/hc"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -97,6 +97,7 @@ These routes require both authentication and admin privileges (`admin` middlewar
|
||||
| `GET /stationmanagement/csvtemplate` | Download a sample CSV template for station imports. |
|
||||
| `POST /stationmanagement/{stationid}/update` | Edit an existing station. |
|
||||
| `DELETE /stationmanagement/{stationid}/delete` | Delete a station. |
|
||||
| `GET /autoscriptlogs` | View data pipeline log files (error log and main log). |
|
||||
|
||||
### User Management
|
||||
|
||||
|
||||
Reference in New Issue
Block a user