Merge branch 'doc/docker' into 'main'

doc: update docker hub image url

See merge request opensource/answer!75
This commit is contained in:
linkinstar 2022-10-18 09:30:24 +00:00
commit 67dd06f7f6
5 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ To keep your data out of Docker container, we do a volume (/var/data -> /data) h
```
# Pull image from Docker Hub.
$ docker pull answer/answer
$ docker pull answerdev/answer:latest
# Create local directory for volume.
$ mkdir -p /var/data

View File

@ -18,7 +18,7 @@
```
# 将镜像从 docker hub 拉到本地
$ docker pull answer/answer
$ docker pull answerdev/answer:latest
# 创建一个挂载目录
$ mkdir -p /var/data

View File

@ -22,7 +22,7 @@ To learn more about the project, visit [answer.dev](https://answer.dev).
```bash
mkdir answer && cd answer
wget https://github.com/segmentfault/answer/releases/latest/download/docker-compose.yaml
wget https://github.com/answerdev/answer/blob/main/docker-compose.yaml
docker-compose up
```

View File

@ -22,7 +22,7 @@
```bash
mkdir answer && cd answer
wget https://github.com/segmentfault/answer/releases/latest/download/docker-compose.yaml
wget https://github.com/answerdev/answer/blob/main/docker-compose.yaml
docker-compose up
```
@ -36,4 +36,4 @@ docker-compose up
## License
[MIT](https://github.com/segmentfault/answer/blob/master/LICENSE)
[Apache](https://github.com/answerdev/answer/blob/main/LICENSE)

View File

@ -1,7 +1,7 @@
version: "3.9"
services:
answer:
image: github.com/segmentfault/answer
image: answerdev/answer:latest
ports:
- '9080:80'
restart: on-failure