Skip to content

devbox

Below are the configuration files for this service. For details on how to deploy or customize, refer to the README above or the official documentation for the service.

Docker Compose Configuration

services:
  devcontainer:
    image: devbox-devcontainer
    container_name: devcontainer
    restart: unless-stopped
    ports:
      - "${DEVBOX_SSH_PORT:-46573}:2222"
    volumes:
      - ${STORAGE_PATH}/devbox:/home/devuser
    env_file:
      - ../.env
    mem_limit: ${DEVBOX_MEM_LIMIT:-10g}
    memswap_limit: ${DEVBOX_SWAP_LIMIT:-20g}

Environment Variables (.env.example)

# devbox/.env
# Copy to .env and fill in real values. NEVER commit .env.

DEVBOX_SSH_PORT=46573
DEVBOX_MEM_LIMIT=10g
DEVBOX_SWAP_LIMIT=20g