Coder Social home page Coder Social logo

knrdl / caasa Goto Github PK

View Code? Open in Web Editor NEW
71.0 3.0 4.0 1.78 MB

Container as a Service admin

License: MIT License

Dockerfile 0.65% CSS 0.73% HTML 0.42% JavaScript 0.21% Svelte 53.26% TypeScript 20.09% Python 24.63%
svelte sveltejs docker webui admin-dashboard python dockerapi websocket dark-theme dark-mode

caasa's Issues

Possibility for internal use without https?

Hello, I would like to use casa internally and test something, but unfortunately I fail already at the login. My guess is that the login only works with an SSL secured connection.

I tried this URL because it wouldn't start without it:
AUTH_API_URL: http://192.168.0.220:8080

Unfortunately, this did not help.

Maybe there is another workaround so that I can log in here in my LAN?

Exception: no containers accessible

Hello, why i get this error?

caasa-caasa-1  | INFO:     connection open
caasa-caasa-1  | Traceback (most recent call last):
caasa-caasa-1  |   File "/app/ws.py", line 90, in on_receive
caasa-caasa-1  |     response = await _ws_actions[action](websocket.state, **payload)
caasa-caasa-1  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
caasa-caasa-1  |   File "/app/ws.py", line 38, in inner
caasa-caasa-1  |     return await func(state, **params)
caasa-caasa-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
caasa-caasa-1  |   File "/app/main.py", line 36, in get_system_info
caasa-caasa-1  |     return await docker.get_system_info(state.username)
caasa-caasa-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
caasa-caasa-1  |   File "/app/docker.py", line 59, in get_system_info
caasa-caasa-1  |     raise Exception('no containers accessible')
caasa-caasa-1  | Exception: no containers accessible

My compose file:

version: '3'
services:
  caasa:
    image: knrdl/caasa
    restart: always
    environment:
      ROLES_caasa_admin_basic: info, state, logs, procs, files, files-read
      ROLES_caasa_admin_full: info, info-annotations, state, logs, term, procs, files, files-read, files-write
      AUTH_API_URL: https://example.org
    ports:
      - "18080:8080"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    mem_limit: 150m
    cpu_count: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.