GithubHelp home page GithubHelp logo

duke-lv / alinode-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aliyun-node/alinode-docker

0.0 3.0 0.0 8 KB

Dockfile for alinode.

License: MIT License

JavaScript 76.29% Shell 23.71%

alinode-docker's Introduction

Alinode Docker

Dockerfile for alinode.

Docker Hub

You may use this Dockerfile via Docker Hub.

The repo is here.

And the docker pull command is:

$ docker pull alinode/alinode-docker

With AgentX && Run app.js

This docker may use with AgentX together.

You should specified these environment variables:

  • APP_ID: Application ID generated by alinode dashboard.
  • APP_SECRET: Application secret value generated by alinode dashboard.
  • AGENTX_ERROR_LOG: Application error log path. Eg. /root/.logs/error.#YYYY#-#MM#-#DD#.log
# docker run  -d -p 1337:1337 -it  -e "APP_ID=xxx" -e "APP_SECRET=xxx" -v /root/src/:/web/ docker.io/alinode/alinode-docker node /web/app.js

And we recommended you bind hostname same as host mechine. Because hostname changes follows the container id. So, command is that:

# docker run  -d -p 1337:1337 -h `hostname`  -e "APP_ID=xxx" -e "APP_SECRET=xxx" -v /root/src/:/web/ docker.io/alinode/alinode-docker node /web/app.js

Contribute

You're welcome to make pull requests!

alinode-docker's People

Contributors

jacksontian avatar xadillax avatar

Watchers

 avatar  avatar  avatar

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.