HUB
Sign inSign up

moechs/lorica

By moechs

•Updated 2 days ago

A modern, secure, dashboard-first reverse proxy built in Rust

Image
Networking
0

1.3K

moechs/lorica repository overview

⁠Lorica

A modern, secure, dashboard-first reverse proxy built in Rust. Single binary, embedded control plane, optional WAF. Powered by Pingora.

This repository provides a pre-built Docker image for [Lorica].

⁠Quick Start

⁠1. Prepare Data Directory
mkdir -p lorica
chown -R 1000:1000 lorica
⁠2. Docker Compose

Create a docker-compose.yml file:

services:
  lorica:
    container_name: lorica
    image: docker.io/moechs/lorica:latest
    restart: unless-stopped
    network_mode: host
    cap_add:
      - NET_BIND_SERVICE
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true
    volumes:
      - ./lorica:/var/lib/lorica
    command:
      - --http-port
      - "80"
      - --https-port
      - "443"
⁠3. Start
docker compose up -d

⁠Access Dashboard

On a production host, reach the dashboard through an SSH tunnel:

ssh -L 9443:127.0.0.1:9443 user@host

Then open https://127.0.0.1:9443⁠ locally (accept the self-signed certificate).

Get the initial administrator password:

docker exec lorica cat /var/lib/lorica/initial-admin-password

The dashboard uses a self-signed TLS certificate by default.

⁠Documentation

For detailed documentation, configuration options, features, troubleshooting, and updates, please visit the official repository:

https://github.com/Rwx-G/Lorica⁠

⁠License

Lorica is licensed under the Apache License 2.0. See the official repository⁠ for details.

Tag summary

Content type

Image

Digest

sha256:7842a64a7…

Size

59.2 MB

Last updated

2 days ago

docker pull moechs/lorica