ckulka / infcloud-docker Goto Github PK
View Code? Open in Web Editor NEWDockerfile for a ready-to-go InfCloud server.
Home Page: https://hub.docker.com/r/ckulka/infcloud
License: MIT License
Dockerfile for a ready-to-go InfCloud server.
Home Page: https://hub.docker.com/r/ckulka/infcloud
License: MIT License
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
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 ?
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
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: []
}
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
Happy to open a PR if it'd be worth it.
Take care and thanks again,
Taylor
Hello, with the recent Baikal update to php 8.1, the example baikal nginx config no longer works as it points to a 7.4 php
https://github.com/ckulka/infcloud-docker/blob/master/examples/baikal-nginx.conf#L30
Should be updated to /var/run/php-fpm.sock to work
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.