Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing an official docker image at docker hub #125

Closed
a-powolozki opened this issue Nov 16, 2022 · 3 comments
Closed

Providing an official docker image at docker hub #125

a-powolozki opened this issue Nov 16, 2022 · 3 comments
Labels
feature concrete new feature or request

Comments

@a-powolozki
Copy link

a-powolozki commented Nov 16, 2022

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

@hschwentner hschwentner added the feature concrete new feature or request label Nov 23, 2022
@hschwentner
Copy link
Member

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.

@johnholliday
Copy link

@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.

@hofstef
Copy link
Member

hofstef commented Aug 21, 2024

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 hofstef closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature concrete new feature or request
Projects
None yet
Development

No branches or pull requests

4 participants