-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 1.04 KB
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
forgepilot:
build:
context: ./
dockerfile: ./containers/app/Dockerfile
image: ${FORGEPILOT_IMAGE_NAME:-forgepilot-studio:latest}
container_name: ${FORGEPILOT_CONTAINER_NAME:-forgepilot-studio-app}-${DATE:-}
environment:
- AGENT_SERVER_IMAGE_REPOSITORY=${FORGEPILOT_AGENT_SERVER_IMAGE_REPOSITORY:-ghcr.io/however-yir/forgepilot-agent-server}
- AGENT_SERVER_IMAGE_TAG=${FORGEPILOT_AGENT_SERVER_IMAGE_TAG:-1.16.1-python}
#- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234} # enable this only if you want a specific non-root sandbox user but you will have to manually adjust permissions of ~/.forgepilot for this user
- WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}
ports:
- "3000:3000"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${FORGEPILOT_HOME:-$HOME/.forgepilot}:/.openhands
- ${WORKSPACE_BASE:-$PWD/workspace}:/opt/workspace_base
pull_policy: build
stdin_open: true
tty: true