Skip to content

AkarinLiu/flarum-container

Repository files navigation

Flarum Container

Flarum 非官方容器镜像,使用 Podman 构建。

目标

在Docker或Podman中运行Flarum,并且使用Compose一键安装,易于维护。

安装

version: '3'
services:
    runtime:
        image: ghcr.io/akarinliu/flarum:latest
        restart: always
        environmnet:
        - FLARUM_DB_HOST=mysql
        - FLARUM_DB_NAME=flarum
        - FLARUM_DB_USER=flarum
        - FLARUM_DB_PASSWORD=flarum
        volumes:
        - ./data:/var/www/html
        ports:
        - 8080:80
        depends_on:
        - mysql
    mysql:
        image: mariadb:lts
        restart: always
        environment:
        - MYSQL_ROOT_PASSWORD=flarum
        - MYSQL_DATABASE=flarum
        - MYSQL_USER=flarum
        - MYSQL_PASSWORD=flarum
        volumes:
        - ./mysql:/var/lib/mysql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published