2022-08-05 12:36:56 +08:00
|
|
|
# myurls
|
|
|
|
|
|
|
|
GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
|
|
|
Docker [stilleshan/myurls](https://hub.docker.com/r/stilleshan/myurls)
|
|
|
|
> *docker image support for X86 and ARM*
|
|
|
|
|
|
|
|
## 简介
|
|
|
|
基于 [CareyWang/MyUrls](https://github.com/CareyWang/MyUrls) 短链接程序的修改版容器镜像,主要解决方便的自定义前端域名以及 ARM64 架构的支持.
|
|
|
|
|
2022-08-06 13:08:20 +08:00
|
|
|
## 示例
|
|
|
|
[https://s.ops.ci](https://s.ops.ci)
|
|
|
|
|
2022-08-05 12:36:56 +08:00
|
|
|
## 部署
|
|
|
|
### docker compose
|
|
|
|
> 由于需要搭配`redis`使用,建议使用`docker compose`部署.
|
|
|
|
|
|
|
|
- 下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/myurls/docker-compose.yml)
|
|
|
|
- 修改`MYURLS_DOMAIN`为你的域名
|
2024-05-02 23:10:08 +08:00
|
|
|
- 修改`MYURLS_PROTO`为你的协议
|
2022-08-05 12:36:56 +08:00
|
|
|
```shell
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
### nginx 反代
|
|
|
|
需要搭配 nginx 反向代理配置 HTTPS 证书使用,参考`domain.conf`配置文件,注意需要修改`域名`,`证书路径`,`日志路径`
|
|
|
|
|
|
|
|
## 参考
|
|
|
|
- [CareyWang/MyUrls](https://github.com/CareyWang/MyUrls)
|