feat: fully functional terminal for command center
This commit is contained in:
@@ -125,6 +125,19 @@ services:
|
||||
interval: 5s
|
||||
retries: 10
|
||||
timeout: 2s
|
||||
terminal:
|
||||
working_dir: /var/www/html
|
||||
ports:
|
||||
- "${TERMINAL_PORT:-6002}:6002"
|
||||
volumes:
|
||||
- .:/var/www/html:cached
|
||||
command: sh -c "apk add --no-cache openssh-client && node /var/www/html/terminal-server.js"
|
||||
healthcheck:
|
||||
test: wget -qO- http://localhost:6002/ready || exit 1
|
||||
interval: 5s
|
||||
retries: 10
|
||||
timeout: 2s
|
||||
|
||||
volumes:
|
||||
coolify-db:
|
||||
name: coolify-db
|
||||
|
||||
Reference in New Issue
Block a user