Coder Social home page Coder Social logo

Comments (3)

psyhtest avatar psyhtest commented on August 18, 2024

With the capability to set up ${WFE_HOST} and ${WFE_PORT} explicitly, it may be worth also updating the ck setup kernel --wfe dialogue e.g.

=======================================================================
Loading current configuration ...
=======================================================================
*** Web front end control (through CK web server or third-party web server and CK php connector) ***

Current web front-end host: localhost
Current web front-end port: 3344
Current web front-end template: default

Enter new web front-end host (Enter to keep previous):
Enter new web front-end port (Enter to keep previous):
Enter new web front-end template (Enter to keep previous): 

from ck.

psyhtest avatar psyhtest commented on August 18, 2024

With the latest CK changes (in particular, 8fcd77fc, a container can be started with e.g.:

$ docker run --rm -it -p ${WFE_PORT}:${CK_PORT} \
  --env CK_PORT=${CK_PORT} \
  --env WFE_PORT=${WFE_PORT} \
  --env WFE_HOST=${WFE_HOST} \
  ctuning/ck-ubuntu-16.04
Starting CK web service on 172.17.0.2:3355 (configured for access at 192.168.0.65:3344) ...

Once the CK changes are more thoroughly tested and stabilised, this issue can be closed.

from ck.

psyhtest avatar psyhtest commented on August 18, 2024

An experimental CK Docker image is now available at a public repository:

$ docker pull ctuning/ck-ubuntu-16.04

The CK web service can be run locally and accessed at http://localhost:3344/ as follows:

$ docker run --rm -it ctuning/ck-ubuntu-16.04

The CK web service can be run on a remote server (at an address ${WFE_HOST} and with an opened port ${WFE_PORT}) and accessed at ${WFE_HOST}:${WFE_PORT} as follows:

$ export WFE_HOST=123.456.0.78 WFE_PORT=9999 CK_PORT=3344
$ docker run --rm -it -p ${WFE_PORT}:${CK_PORT} \
  --env WFE_HOST=${WFE_HOST} --env WFE_PORT=${WFE_PORT} --env CK_PORT=${CK_PORT} \
  ctuning/ck-ubuntu-16.04
Starting CK web service on 172.17.0.2:3344 (configured for access at 123.456.0.78:9999) ...

NB: The ${CK_PORT} variable must be defined but its value is inconsequential.

from ck.

Related Issues (20)

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.