# Flagsmith 使用 Nginx 反向代理安装

**URL:** <https://www.isharkfly.com/t/flagsmith-nginx/14172>\
**Category:** DevOps\
**Created:** [October 29, 2022, 1:27pm UTC](https://www.isharkfly.com/t/flagsmith-nginx/14172 "2022-10-29T13:27:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 29, 2022, 1:27pm UTC](https://www.isharkfly.com/t/flagsmith-nginx/14172/1 "2022-10-29T13:27:12Z")

</div>

flagsmith 的安装可以使用 Docker

## flagsmith 安装

flagsmith 的安装非常简单。

```auto
sudo git clone https://github.com/Flagsmith/self-hosted.git /opt/flagsmith
sudo cd /opt/flagsmith/
sudo docker-compose up

```

系统的安装界面和配置：

![2022-10-29_09-30-36](https://www.isharkfly.com/images/transparent.png)

安装的过程比较耗时，通常还需要几分钟的时间。

如果希望以服务方式启动，需要在启动参数后面加 -d

启动的命令为：

```auto
docker-compose up -d

```

控制台的输出为：

```auto
[root@devops-norctx-com flagsmith]# docker-compose up -d
Starting flagsmith_postgres ... done
Starting flagsmith_flagsmith_1 ... done
[root@devops-norctx-com flagsmith]# 

```

随后，你就可以对参数进行配置了。

 ![2022-10-29_10-03-38](https://com-ossez-www-discourse.s3.dualstack.us-east-2.amazonaws.com/discourse-uploads/original/2X/3/37ff153ab5c88ab57c2ff51ee11693459333d1d0.png)
