Sign inSign up

apacheignite/web-console-frontend

By apacheignite

Updated almost 8 years ago

Ignite Web Console frontend container

Image
0

10K+

apacheignite/web-console-frontend repository overview

Frontend container for Ignite Web Console

This is a containerized version of the Ignite Web Console frontend. The easiest way to start it up is using Docker compose.

Example of docker compose file for starting the Ignite Web Console:

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

mongodb:
  image: mongo:latest
  volumes:
    # External volume for persisting data. (HOST_PATH:CONTAINER_PATH).
    - ./data/mongo:/data/db

backend:
  image: apacheignite/web-console-backend
  links:
    # Link mongodb container as with mongodb hostname.
    - mongodb:mongodb
  ports:
    # Proxy 3001 port from docker container to 3001 port host machine. (HOST_PORT:DOCKER_PORT)
    - 3001:3001
  # Restart on crash.
  restart: always  
  environment:
    # Port for serving frontend API
    - server_port=3000
    # Cookie session secret
    - server_sessionSecret=CHANGE ME
    # URL for mongodb connection
    - mongodb_url=mongodb://mongodb/console
    # Port for web-agent.
    - agentServer_port=3001
    # Mail connection settings. Leave empty if no needed. See also settings, https://github.com/nodemailer/nodemailer
    - mail_service=
    - mail_sign=
    - mail_greeting=
    - mail_from=
    - mail_auth_user=
    - mail_auth_pass=

frontend:
  image: apacheignite/web-console-frontend
  links:
    # Link backend container to proxy backend requests throught nginx container.
    - backend:backend

  ports:
    # Proxy HTTP nginx port (HOST_PORT:DOCKER_PORT)
    - 80:80

How to run Ignite Web Console

sudo docker-compose up -d Then you can hit http://localhost or http://host-ip in your browser, and register the first user. Admin rights will be granted to the first registered user.

Configuration

All setting should be configured via docker-compose.yml in the "environment" section.

How to update

In order to update Ignite Web Console, it should be stopped and the old containers should be removed. sudo docker-compose stop sudo docker-compose rm sudo docker-compose pull sudo docker-compose up -d

Useful commands

To stop docker containers: sudo docker-compose stop To start docker containers: sudo docker-compose start To view logs: sudo docker-compose logs To delete docker containers: sudo docker-compose rm

License

Ignite Web Console Docker is available under Apache 2.0 Open Source license.

Tag summary

Content type

Image

Digest

Size

14.3 MB

Last updated

almost 8 years ago

docker pull apacheignite/web-console-frontend