Skip to content

Run a authorization server

Gawen Arab edited this page Sep 19, 2019 · 1 revision

Run a authorization server

This guide explains how to install your own authorization server with Docker. It is a very basic implementation, whose purpose is to be the reference design for others.

First, get the project and build it.

Then, build the necessary Docker images.

make build-docker

Create the file docker-compose.yml with the following content, or download it from here.

version: "2"

services:
    provider.alias:
        image: alias/provider
        ports:
            - "8080:80"

        links:
            - redis.provider.alias
            - processor.provider.alias

        volumes:
            - config:/config

    processor.provider.alias:
        image: alias/processor
        volumes:
            - config:/config

    redis.provider.alias:
        image: redis
        volumes:
            - redis:/data
        command: redis-server --appendonly yes

volumes:
    config:
    redis:

Then start the server with Docker Compose.

docker-compose up

Your authorization server will listen on port 8080.

You can’t perform that action at this time.