permify Docker & Self-Hosted Deployment

GitHub

An open-source authorization as a service inspired by Google Zanzibar, designed to build and manage fine-grained and scalable authorization systems for any...

RAW Compose
1. Pull Image (DOCKERHUB) docker pull library/postgres
2. Docker Run (1-Click Launch) docker run -d --name permify -p 3476:3476 --restart always postgres
3. Podman Run podman run -d --name permify -p 3476:3476 --restart always postgres
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/library/postgres:latest
5. ORAS Pull (OCI Artifact) oras pull postgres
6. Compose Deployment docker compose up -d
docker-compose.yaml
Download .yml
services:
    permify:
        build:
            context: .
            dockerfile: Dockerfile.local
        restart: "always"
        ports:
            - "3476:3476"
            - "3478:3478"
        volumes:
            - .:/app
        depends_on:
            - "database"
        healthcheck:
            test: ["CMD", "grpc_health_probe", "-addr", "localhost:3478"]
            interval: 10s
            retries: 10
            start_period: 60s

    database:
        image: "postgres"
        ports:
            - "5432:5432"
        environment:
            - "POSTGRES_PASSWORD=secret"
            - "POSTGRES_DB=permify"

    integration:
        build:
            context: .
            dockerfile: integration-test/Dockerfile
        container_name: integration
        image: integration
        depends_on:
            permify:
                condition: service_healthy

volumes:
    pg-data: