mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-11 15:25:16 -05:00
The platform's docker-compose.yml has complex networks and dependencies that caused 'docker compose config' to fail during container creation. Now the devcontainer is standalone - platform services (db, redis, etc.) are started from WITHIN the container using docker compose commands in the lifecycle scripts. This is cleaner and avoids compose conflicts.
22 lines
626 B
YAML
22 lines
626 B
YAML
# Standalone devcontainer service
|
|
# The platform services (db, redis, etc.) are started from within
|
|
# the container using docker compose commands in the lifecycle scripts.
|
|
|
|
services:
|
|
devcontainer:
|
|
image: mcr.microsoft.com/devcontainers/base:ubuntu-24.04
|
|
volumes:
|
|
# Mount the entire AutoGPT repo
|
|
- ../..:/workspaces/AutoGPT:cached
|
|
|
|
# Keep container running
|
|
command: sleep infinity
|
|
|
|
# Environment for development
|
|
environment:
|
|
- CODESPACES=true
|
|
- POETRY_VIRTUALENVS_IN_PROJECT=true
|
|
- POETRY_NO_INTERACTION=1
|
|
- NEXT_TELEMETRY_DISABLED=1
|
|
- DO_NOT_TRACK=1
|