Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

arcturus-weather/.github

Repository files navigation

下载项目

git clone --recursive https://github.com/arcturus-weather/.github.git

Docker 部署

安装 docker

sudo curl -sSL get.docker.com | sh

修改国内镜像源

sudo mkdir -p /etc/docker
sudo vim /etc/docker/daemon.json
{
  "registry-mirrors": [
     "https://docker.mirrors.ustc.edu.cn",
     "https://mirror.ccs.tencentyun.com",
     "https://hub-mirror.c.163.com",
     "https://reg-mirror.qiniu.com"
  ]
}
systemctl daemon-reload
systemctl restart docker

测试安装是否成功

sudo docker run hello-world

安装 docker-compose

sudo curl -L \
"https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" \
-o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

测试安装是否成功

docker-compose --version

webserver 文件夹下新建 .env 文件(具体内容见相应文件夹), 最后运行

sudo docker-compose up

访问地址 http://localhost

About

A repository for weather app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published