Fosi Fossil Service
Small teams. Open source. Built on Fossil.

CaaS / Lamina

Unified Management for Fossil Repositories

Public | Owner: CaaS | Default branch: trunk | Last update: 2026-10-25 00:41

Artifact 319f604206decf0b5543143fc22aed9c4c40f74d6d554cf1695476f77aac13e4:


# 使用本机已构建的镜像,不在这里 build。
# 数据目录映射到 ./data。
# host 网络:Caddy 在另一台机器上反代局域网 IP:8827 时,避免 Docker 桥接只对 127.0.0.1 通。
services:
  lamina:
    image: lamina:v1.0.0
    platform: linux/amd64
    container_name: lamina
    restart: unless-stopped
    user: "0:0"
    init: true
    network_mode: host
    stop_grace_period: 20s
    volumes:
      - ./data:/app/data
    environment:
      TZ: Asia/Shanghai
      LANG: C.UTF-8
      HOME: /app/data/fossil-home
      FOSSIL_HOME: /app/data/fossil-home
      ERL_FLAGS: "+S 1"
      ERL_AFLAGS: "+S 1"
    entrypoint:
      - /bin/sh
      - -ec
      - |
        DATA=/app/data
        mkdir -p "$$DATA/repos" "$$DATA/fossil-home" "$$DATA/logs" "$$DATA/skin-cache"
        chmod -R a+rwX "$$DATA"
        printf '%s\n' '[{nova, [{bootstrap_application, nova}, {cowboy_configuration, #{port => 8827, ip => {0,0,0,0}}}]}].' >/app/config/sys.config
        exec /app/docker-entrypoint.sh

Clone

You can clone this repository with the following command:

fossil clone https://fosi.dev/CaaS/Lamina

Contribute

The best way to contribute is through e-mail. See the project documentation for more details.