question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Multiuser] Instructions to run without CLI

See original GitHub issue

In the docs, instructions are provided to run Multi-user Che with the CLI.

We use a orchestrator (Rancher) to deploy our servers so we need to replicate how CHE_MULTIUSER=true works manually (i.e. by launching che-server-multiuser, etc).

Could someone update the docs or provide a link here to follow?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidwindellcommented, Oct 27, 2017

After a bit of a push and shove, I’ve been able to get this to work in Rancher/Compose 👍 This is roughly what our compose definition now looks like:

version: '2'
services:
  keycloak:
    image: jboss/keycloak:3.3.0.CR2-3
    volumes:
    - /host/path/to/che/theme:/opt/jboss/keycloak/themes/che
    links:
    - postgres:postgres
    ports:
    - 5050:8080/tcp=
  che-server:
    image: eclipse/che-server-multiuser:5.19.0
    environment:
      CHE_PORT: '80'
      CHE_DOCKER_IP_EXTERNAL: our.che.host
      CHE_DOCKER_SERVER__EVALUATION__STRATEGY: docker-local
      CHE_HOST: our.che.host
      CHE_WORKSPACE_VOLUME: /var/run/docker.sock:/var/run/docker.sock
      CHE_MULTIUSER: 'true'
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    links:
    - postgres:postgres
  postgres:
    image: postgres:9.6-alpine
    environment:
      POSTGRES_USER: keycloak
      POSTGRES_PASSWORD: password
    volumes:
    - /host/path/to/postgres/data:/var/lib/postgresql/data

Anyone who takes this route will have to create their own che and keycloak databases and keycloak realm (I just imported the erb template into keycloak). We also mount the Che keycloak theme as a manual process.

0reactions
davidwindellcommented, Aug 30, 2019

We’re switching to the new helm charts/Che 7 which we’ve got working on Rancher so am closing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to switch between the CLI and GUI on a Linux server
Here's the command to launch the GUI from the multi-user.target: $ sudo systemctl isolate graphical.target. Switch back by specifying the ...
Read more >
How to switch boot target to text or GUI in systemd Linux
Switching boot target to text · Open the terminal application. · For remote Linux servers, use the ssh command. · Find which target...
Read more >
How do I make it so users open automatically in multi user
How do I make it so users open automatically in multi user · Right-click the QBWUSER.INI file. · Select Properties. · Go to...
Read more >
Sharing a terminal with multiple users (with screen or otherwise)
Press Ctrl-a and type (NOTE: Ctrl+a is needed just before each single command, i.e. twice here) :multiuser on :acladd USER ← use username ......
Read more >
Testing Multiple Users | Android Open Source Project
The following information helps explain how adb behaves with multiple users: adb (or more accurately the adbd daemon) always runs as the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found