35 lines
838 B
YAML
35 lines
838 B
YAML
|
|
# Docker Compose for running GSD in a sandbox
|
||
|
|
# Usage: docker compose -f docker/docker-compose.yml up
|
||
|
|
#
|
||
|
|
# Copy docker/.env.example to docker/.env and fill in your API keys first.
|
||
|
|
# See docker/README.md for full setup instructions.
|
||
|
|
|
||
|
|
services:
|
||
|
|
gsd:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile.sandbox
|
||
|
|
args:
|
||
|
|
GSD_VERSION: latest
|
||
|
|
container_name: gsd-sandbox
|
||
|
|
ports:
|
||
|
|
- "3000:3000"
|
||
|
|
volumes:
|
||
|
|
# Sync project code into the sandbox
|
||
|
|
- ../:/workspace
|
||
|
|
# Persistent GSD state across container restarts
|
||
|
|
- gsd-state:/home/gsd/.gsd
|
||
|
|
env_file:
|
||
|
|
- .env
|
||
|
|
environment:
|
||
|
|
- NODE_ENV=development
|
||
|
|
user: "1000:1000"
|
||
|
|
stdin_open: true
|
||
|
|
tty: true
|
||
|
|
# Override entrypoint for interactive shell access
|
||
|
|
# entrypoint: /bin/bash
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
gsd-state:
|
||
|
|
driver: local
|