mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-09 12:34:08 +00:00
feat: fully functional terminal for command center
This commit is contained in:
@@ -52,8 +52,18 @@ services:
|
||||
SOKETI_DEFAULT_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
||||
SOKETI_DEFAULT_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
||||
SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
|
||||
terminal:
|
||||
env_file:
|
||||
- .env
|
||||
pull_policy: always
|
||||
working_dir: /var/www/html
|
||||
ports:
|
||||
- "${FORWARD_TERMINAL_PORT:-6002}:6002"
|
||||
volumes:
|
||||
- .:/var/www/html:cached
|
||||
command: sh -c "apk add --no-cache openssh-client && node --watch /var/www/html/terminal-server.js"
|
||||
vite:
|
||||
image: node:20
|
||||
image: node:alpine
|
||||
pull_policy: always
|
||||
working_dir: /var/www/html
|
||||
# environment:
|
||||
@@ -62,7 +72,7 @@ services:
|
||||
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
||||
volumes:
|
||||
- .:/var/www/html:cached
|
||||
command: sh -c "npm install && npm run dev"
|
||||
command: sh -c "apk add --no-cache make g++ python3 && npm install && npm run dev"
|
||||
networks:
|
||||
- coolify
|
||||
testing-host:
|
||||
|
||||
Reference in New Issue
Block a user