Skip to content

Add Docker Compose for a Postgres-backed server with SSH proxy#3964

Open
peterschmidt85 wants to merge 1 commit into
masterfrom
add-server-docker-compose
Open

Add Docker Compose for a Postgres-backed server with SSH proxy#3964
peterschmidt85 wants to merge 1 commit into
masterfrom
add-server-docker-compose

Conversation

@peterschmidt85

@peterschmidt85 peterschmidt85 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Adds docker/server/docker-compose.yml to run the dstack server with PostgreSQL and the SSH proxy locally — a production-like setup for trying or testing on one machine.

docker compose -f docker/server/docker-compose.yml up

Brings up Postgres + server (:3000) + SSH proxy (:30022). The proxy host key is auto-generated by a one-shot init service; credentials and the proxy token default for local use and are overridable via DSTACK_* env vars. Documented in the Docker Hub README (docker/server/README.md) and linked from the server deployment guide.

🤖 Generated with Claude Code

Add docker/server/docker-compose.yml to run the dstack server with PostgreSQL
and the SSH proxy locally — a production-like setup for trying or testing on one
machine. `docker compose up` brings up Postgres + server (:3000) + SSH proxy
(:30022); the proxy host key is generated by a one-shot init service, and
credentials/token default for local use and are overridable via DSTACK_* env vars.

Document it in docker/server/README.md (also the Docker Hub description) and link
it from the server deployment guide.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@peterschmidt85 peterschmidt85 force-pushed the add-server-docker-compose branch from edbd9d1 to f2a50cf Compare June 14, 2026 18:33
@peterschmidt85 peterschmidt85 requested a review from un-def June 14, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant