Giter VIP home page Giter VIP logo

infcloud-docker's People

Contributors

ckulka avatar stackcoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

infcloud-docker's Issues

Unnecessary volume mount

The volume mount set in the Dockerfile seems unnecessary (/usr/share/nginx/html) as /usr/share/nginx/infcloud is used to serve the actual application. This creates an anonymous volume by default, as this volume isn't mentioned in any docs / docker-compose. This could probably be removed as a docker volume, since it holds only default nginx pages and does not really need to be persisted into a volume.

https://github.com/ckulka/infcloud-docker/blob/master/Dockerfile#L18

How to run infcloud-docker inside local network?

My home server has an IP of 192.168.16.5.
What I just didn't try to do with docker-compose.baikal.yaml, but I could not make it work inside the local network.
I've tried everything this but it doesn't work:

traefik.frontend.rule: "Host:192.168.16.5, Path=/baikal"
traefik.frontend.rule: "PathPrefixStrip:/baikal"
traefik.frontend.rule: "PathPrefixStrip:/"
traefik.frontend.rule: "PathPrefixp:/baikal"
traefik.frontend.rule: "Host: 0.0.0.0:/baikal"

What do I need to specify in the address in global Network Check Settings in config-baikal.js?
Do I need to change something in baikal-nginx.conf?

How to make addresses available http://192.168.16.5/baikal and http://192.168.16.5/infcloud or just access by ports, for example, http://192.168.16.5:1080 and http://192.168.16.5:1081 ?

I can't login on the infcloud login page

It just makes an animation and goes back to the login page. No error message, nothing to be found in logs.
Only output I get is:

app_1       | 192.168.16.3 - - [23/Jan/2021:07:06:33 +0100] "OPTIONS /cal.php/calendars/ HTTP/1.1" 401 423 "http://infcloud.niwo.home/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.142 Safari/537.36" "192.168.1.25"
traefik_1   | 192.168.1.25 - - [23/Jan/2021:06:06:33 +0000] "OPTIONS /cal.php/calendars/ HTTP/1.1" 401 411 "http://infcloud.niwo.home/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.142 Safari/537.36" 1 "Host-baikal-niwo-home-1" "http://192.168.16.2:80" 290ms

My network is 192.168.1.0/24. My Laptop is .25. I set the authorization to basic, so I don't know where the 401 is coming from, neither the 423.

My configuration is as follows:
I run it on a headless server: nas.niwo.home, so no ...localhost address is possible

docker-compose.yml

config-baikal.js

var globalNetworkCheckSettings = {
  href: location.protocol + '//baikal.niwo.home' +
    (location.port ? ':' + location.port : '') +
    '/cal.php/calendars/',
  timeOut: 90000,
  lockTimeOut: 10000,
  checkContentType: true,
  settingsAccount: true,
  delegation: true,
  additionalResources: [],
  hrefLabel: null,
  forceReadOnly: null,
  ignoreAlarms: false,
  backgroundCalendars: []
}

Docker Compose Example Path

Hi,

Thank you very much for posting this image. I am using it to host an instance of InfCloud and its working great.

I did have to change one line on the Docker Compose sample file and thought I'd call it out in case it might help others.

I had to update the container mount point on the line referenced below to:

/host/os/config.js:/usr/share/nginx/infcloud/config.js:ro

- ./config.js:/usr/share/nginx/html/config.js:ro

Happy to open a PR if it'd be worth it.

Take care and thanks again,

Taylor

Client or server?

For what I understand, Infcloud just acts as a web client. I am a bit confused, since the readme describes this as a "ready-to-go InfCloud server"

Can you shed some clarity?

I am running Baikal and I am just trying to setup a web client so that I can edit my contact list.

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.