Install Dev Space Agent
Here is the docker compose file
Quick Setup
You can quickly install or update the Dev Space Agent using this command below.
docker run -d \
-p 5555:5555 \
--name devspace-agent \
--pull always \
--restart on-failure:3 \
-v devspace_agent:/app/Data \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /var/lib/docker/volumes/portainer_data/_data/compose:/var/lib/docker/volumes/portainer_data/_data/compose:ro \
-v /var/lib/docker/volumes/portainer_data/_data/custom_templates:/var/lib/docker/volumes/portainer_data/_data/custom_templates:ro \
ghcr.io/fluxpointdev/devspace/agent:latest
You can get the agent key using this command
cat /var/lib/docker/volumes/devspace_agent/_data/Config.json
Or if you want a more custom compose setup you can use the docker-compose.yml
config here.
Website Agent Setup
You can now setup and manage your server on the Dev Space Website by creating a team, going to Servers, click Create Server and then go through the setup page with your server IP and agent key then name the server anything you want.


Last updated