mirror of
https://github.com/ghndrx/shellmate.git
synced 2026-02-10 06:45:02 +00:00
fix: encode strings to bytes for binary SSH + use port 22
This commit is contained in:
@@ -2,9 +2,9 @@ services:
|
||||
shellmate:
|
||||
build: .
|
||||
ports:
|
||||
- "2222:2222"
|
||||
- "22:22"
|
||||
environment:
|
||||
- SHELLMATE_SSH_PORT=2222
|
||||
- SHELLMATE_SSH_PORT=22
|
||||
- SHELLMATE_REDIS_URL=redis://redis:6379
|
||||
- SHELLMATE_DATABASE_URL=postgresql://shellmate:shellmate@postgres:5432/shellmate
|
||||
- STOCKFISH_PATH=/usr/games/stockfish
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
- postgres
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "localhost", "2222"]
|
||||
test: ["CMD", "nc", "-z", "localhost", "22"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user