orchitect logo

Setting up a Fief

 

 

This is the 'spoke' of your deployment, deploy a fief to each server that you want to manage and provide the Kingdom's public URL and secret token.

The Fief does not need to have any special networking permissions other than being able to make connections to the Kingdom it resides in. 

 

 

services:
    fief:
        container_name: fief
        image: orchitect/fief-agent:latest
        environment:
            KINGDOM_SERVICE_URL: 'https://kingdom:9876'
            AGENT_NAME: 'fief'
            KINGDOM_SERVICE_TOKEN: 'token'
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
            - fief_data:/fief
volumes:
    fief_data: