egon.io icon indicating copy to clipboard operation
egon.io copied to clipboard

Providing an official docker image at docker hub

Open a-powolozki opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. When i want to run domain story modeler in docker, i have to clone the repo and call docker compose

Describe the solution you'd like My prefered way would be to pull an offical domain-story-modeler image from docker hub and simply run it, probably with additional parameters

Describe alternatives you've considered nothing to add

Additional context nothing to add

a-powolozki avatar Nov 16 '22 15:11 a-powolozki

We will push an Egon.io Docker image to Docker Hub once the rename from domain story modeler to Egon.io is complete. That will happen in version 2.

hschwentner avatar Nov 23 '22 13:11 hschwentner

@a-powolozki In the meantime, you can create your own docker image as follows:

  1. Install and run Docker Desktop on your host machine.
  2. Clone the repository and navigate to the project root folder.
  3. Create a text file with the name 'Dockerfile' as follows:
FROM nginx
COPY . /usr/share/nginx/html
  1. Create a 'docker-compose.yml' file in the root folder as follows:
version: '3'
services:
  web:
    image: img-domain-story-modeler
    build: .
    container_name: domain-story-modeler
    restart: always
    ports:
      - "8080:80"
  1. Open a terminal window in the project root folder and enter these commands:
docker-compose build
docker-compose up -d

At this point, you will have a custom image containing a web server listening on port 8080 on your host machine. To launch the app, open a browser and navigate to 'localhost:8080'.

If you are using Microsoft Edge, you can install this address as an App and then pin it to your start menu or taskbar so you can open it with a single click.

Hope this helps.

johnholliday avatar Jan 03 '23 16:01 johnholliday

We now provide a Docker image on GitHub's container registry:

docker pull ghcr.io/wps/egon.io:latest

We'll monitor if this is well received and might publish on Docker Hub too at a later point.

hofstef avatar Aug 21 '24 07:08 hofstef