Skip to content

SciNetHPC/myscinet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

231 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my.scinet: SciNet user portal

This is the user web portal for the SciNet supercomputing centre. Shows information about:

  • jobs
  • storage
  • group allocations
  • overall cluster stats

The website is an Elixir/Phoenix app.

Configuration environment variables

Requires the following environment variables to be defined:

# postgres/timescaledb job database
DATABASE_URL=ecto://username:password@hostname/database?pool_size=10

# ldap
LDAP_HOSTS=ldap1.example.com,ldap2.example.com
LDAP_PORT=636
LDAP_BIND_DN="xxx"
LDAP_BIND_PW="xxx"
LDAP_USER_BASE="ou=people,dc=example,dc=com"
LDAP_GROUP_BASE="ou=group,dc=example,dc=com"
LDAP_LOCAL_USER_BASE="ou=people,dc=local,dc=example,dc=com"
LDAP_LOCAL_GROUP_BASE="ou=group,dc=local,dc=example,dc=com"

# redis
REDIS_URL="redis://localhost:6379"
REDIS_PASSWORD="xxx"

Miscellaneous

Generated the phoenix app via:

docker run --rm -it -v ./app:/app:Z -w /app elixir:1.18-otp-27 bash -c "mix archive.install hex phx_new 1.8.0-rc.3 --force && mix phx.new . --app myscinet --module MySciNet --no-mailer --no-install && chown -R $(id -u):$(id -g) ."

About

Job & cluster info web portal

Resources

Stars

Watchers

Forks

Packages