Files
templates/blueprints/openhands/docker-compose.yml
Jainil Prajapati 🪐 d5a74cab26 Adding new templates (#247)
* Remove duplicate GitLab CI entry and add Link Stack entry to meta.json

* Update Movary blueprint with simplified Docker Compose and environment configuration

* Add OpenGist entry to meta.json

* Add Snapp self-hosted screenshot sharing service entry to meta.json

* Add CommaFeed feed reader entry to meta.json

* Add ConvertX media conversion service entry to meta.json

* Add MeTube YouTube downloader entry to meta.json

* Add Pinchflat YouTube  entry to meta.json

* Add yt-dlp-webui entry to meta.json

* Add FlareSolverr proxy service entry to meta.json

* Add Neko virtual browser entry to meta.json

* Add Omni-Tools entry to meta.json

* Add OpenHands AI agents platform entry to meta.json

* Add Web-Check website analyzer entry to meta.json

* Add DumbDrop file sharing service entry to meta.json

* Add DumbAssets entry to meta.json

* Add DumbPad notepad service entry to meta.json

* Add DumbBudget self-hosted budget tracking service entry to meta.json

* Add Tianji web analytics and uptime monitoring service entry to meta.json

* Add Directory Lister entry to meta.json

* Add Grimoire bookmarking app entry to meta.json

* Clean Up

* Update Movary blueprint with environment variables and MySQL configuration
2025-07-27 22:40:54 -06:00

37 lines
1.3 KiB
YAML

# The 'version' attribute is obsolete and has been removed.
services:
openhands:
# Corrected the Docker image to what appears to be the official registry path.
# This was the cause of the "pull access denied" error.
image: docker.all-hands.dev/all-hands-ai/openhands:latest
restart: unless-stopped
# The port is exposed without mapping. Dokploy handles the routing via the domain.
ports:
- "3000"
# Environment variables are sourced from the template.toml file.
environment:
- SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE}
- WORKSPACE_MOUNT_PATH=/opt/workspace_base
# Allows the container to communicate with the host's Docker daemon.
extra_hosts:
- "host.docker.internal:host-gateway"
# Volumes for persistent data. Named volumes are used instead of host mounts.
# The docker socket is mounted to allow OpenHands to manage other containers.
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- openhands-config:/.openhands
- openhands-workspace:/opt/workspace_base
# These flags are necessary for the interactive shell functionality of OpenHands.
stdin_open: true
tty: true
# Named volumes are defined here to persist configuration and workspace data.
volumes:
openhands-config: {}
openhands-workspace: {}