Sign inSign up

peng49/fly

By peng49

•Updated about 3 years ago

https://github.com/peng49/fly 镜像

Image
0

912

peng49/fly repository overview

启动容器需要先创建数据库

create database fly;

点击 https://raw.githubusercontent.com/peng49/fly/master/fly.sql⁠下载sql文件

将下载的fly.sql导入数据库中初始化数据库结构

启动容器

启动fly-web

$ docker run -it -d --rm \
     --name fly \
     -p 8081:8080 \
     -e DB_HOST=192.168.56.1 \
     -e DB_PORT=3306\
     -e DB_PASSWORD=password \
     -e DB_USERNAME=root \
     -e DB_DATABASE=fly peng49/fly:latest

启动fly-admin

$ docker run -it -d --rm \
     --name fly \
     -p 8082:8080 \
     -e DB_HOST=localhost \
     -e DB_PORT=3306\
     -e DB_PASSWORD=password \
     -e DB_USERNAME=root \
     -e DB_DATABASE=fly  peng49/fly:latest admin

Tag summary

Content type

Image

Digest

sha256:9be5b0c38…

Size

308.5 MB

Last updated

about 3 years ago

docker pull peng49/fly