Coder Social home page Coder Social logo

eolinker-docker's Introduction

使用

$ docker run -d -p 8000:80 farseer810/eolinker:4.0

接着按官网安装教程提示进入首页完成配置安装,以本机安装以例:
进入http://localhost:8000
需要提前自行创建好空数据库

注意:要记住你配置时填写的数据库信息,重启docker需要用到

重启eolinker容器

docker run -d -p 8000:80 \
-e IS_REPLICA=true \
-e DB_HOST=db_host \
-e DB_NAME=os_name \
-e DB_USER=db_user -e DB_PASSWORD=db_password \
-e WEBSITE_NAME="website_name" \
farseer810/eolinker:4.0

其中WEBSITE_NAME不是必填的
其实也可以用重启eolinker容器的命令开多个实例,再在上层负载均衡
用nginx负载均衡时记得要在upstream加上ip_hash

eolinker-docker's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.