-
Notifications
You must be signed in to change notification settings - Fork 57
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
Run DTaaS with localhost domain name #301
Milestone
Comments
This should work with the following configuration: env.js window.env = {
REACT_APP_ENVIRONMENT: 'dev',
REACT_APP_URL: 'http://localhost/',
REACT_APP_URL_BASENAME: '',
REACT_APP_URL_DTLINK: '/lab',
REACT_APP_URL_LIBLINK: '',
REACT_APP_WORKBENCHLINK_TERMINAL: '/terminals/main',
REACT_APP_WORKBENCHLINK_VNCDESKTOP: '/tools/vnc/?password=vncpassword',
REACT_APP_WORKBENCHLINK_VSCODE: '/tools/vscode/',
REACT_APP_WORKBENCHLINK_JUPYTERLAB: '/lab',
REACT_APP_WORKBENCHLINK_JUPYTERNOTEBOOK: '',
REACT_APP_CLIENT_ID: '1be55736756190b3ace4c2c4fb19bde386d1dcc748d20b47ea8cfb5935b8446c',
REACT_APP_AUTH_AUTHORITY: 'https://gitlab.com/',
REACT_APP_REDIRECT_URI: 'http://localhost/Library',
REACT_APP_LOGOUT_REDIRECT_URI: 'http://localhost/',
REACT_APP_GITLAB_SCOPES: 'openid profile read_user read_repository api',
}; fileConfig.yml http:
routers:
dtaas:
entryPoints:
- http
rule: 'Host(`localhost`)'
middlewares:
- basic-auth
service: dtaas
user1:
entryPoints:
- http
rule: 'Host(`localhost`) && PathPrefix(`/user1`)'
middlewares:
- basic-auth
service: user1
user2:
entryPoints:
- http
rule: 'Host(`localhost`) && PathPrefix(`/user2`)'
middlewares:
- basic-auth
service: user2
libms:
entryPoints:
- http
rule: 'Host(localhost`) && PathPrefix(`/lib`)'
service: libms
# Middleware: Basic authentication
middlewares:
basic-auth:
basicAuth:
usersFile: "/etc/traefik/auth"
removeHeader: true
services:
dtaas:
loadBalancer:
servers:
- url: "http://localhost:4000"
user1:
loadBalancer:
servers:
- url: "http://localhost:8090"
user2:
loadBalancer:
servers:
- url: "http://localhost:8091"
libms:
loadBalancer:
servers:
- url: "http://localhost:4001" lib PORT='4001'
MODE='local'
LOCAL_PATH ='filepath'
LOG_LEVEL='debug'
APOLLO_PATH='/lib'
GRAPHQL_PLAYGROUND='true' filenames: Please add |
PR #380 completes the task. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The DTaaS software must run within user computer. The domain name of the web server as mentioned in trial install shall be
localhost
.This is related to issue #31
The text was updated successfully, but these errors were encountered: