Skip to main content

2. Remote Arcane host (optional)

Now, you can of course create a docker compose file in your ARR VM, however Arcane also offers to possibility to manage other docker vm's as well. Then you directly get all the benefits of resource and update management for your ARR VM as well. This is not necessary but highly recommended for ease of use. Hence, we will show you here how to create a remote arcane host s.t we can deploy our ARR stack via the arcane Webgui instead of via the cli ;)

1. Go to your Arcane Manager host and log in 

2. Next we will go to Environments > + Add Environment

3. Give it a name e.g "arr"

4. Next add the ARRVM IP address with a port you want to run it on e.g 3553

5. Then click on generate agent configuration which will provide a docker compose file you can use for your Arr VM. 

6. Copy the generated compose file

7. Enter your Arr VM with ssh

8. Create a new folder called arcane

mkdir arcane

9. Inside of the arcane folder create a new docker compose file and copy paste the generated compose file

nano compose.yml

10. Then as an example it looks like this

compose.yml
services:
  arcane-agent:
    image: ghcr.io/getarcaneapp/agent:latest
    container_name: arcane-agent
    restart: unless-stopped
    environment:
      - AGENT_MODE=true
      - EDGE_TRANSPORT=poll
      - AGENT_TOKEN=arc_f18ea27f48b812813a6d6c1099b7ad0972beb22b6c532d1d253e6e89fb8f6fbe
      - MANAGER_API_URL=https://arcane.rfeyn.g
    ports:
      - "3553:3553"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - arcane-data:/app/data

volumes:
  arcane-data: