mailu / rancher Goto Github PK
View Code? Open in Web Editor NEWRancher catalog entries
Rancher catalog entries
I think it would be cool to create an helm chart compatible with Rancher 2.
It's not possible to use compose with Rancher 1
But there is http://kompose.io/ to simplify the process from docker-compose.yml to a helm chart. Even though we will probably have to do some modifications but that should be easier than generating everything from scratch. Moreover if we want it to be compatible with Rancher2 we need to have a few things in the chart https://rancher.com/docs/rancher/v2.x/en/catalog/custom/
so i tried to upgrade my default running rancher deployment from the 0.3 to 0.4 miserable failure....
same with deploying a fresh stack on a fresh rancher from this catalog... also a fail ... sorry but does this stuff get tested? after i looked through the merge i though heck lets give it a go.... result 0 mail services now functional.... ughhhh......
With the latest release of Mailu this probably needs an update too?
https://github.com/Mailu/Mailu/releases/tag/v1.5.0
im trying to deploy from the catalog with a self signed cert in /mailu/certs and listen on 0.0.0.0 yet http sees to fail loading with this error
and the admin container fails with
Failed to allocate instance [container:1i98]: Bad instance [container:1i98] in state [error]: Allocation failed: No healthy hosts meet the resource constraints: [127.0.0.1:8000:80/tcp portReservation, instanceReservation: 1].
why is it even trying 127.0.0.1 ??
1/25/2018 6:36:26 PMwriting new private key to '/tmp/snakeoil.pem'
1/25/2018 6:36:26 PM-----
1/25/2018 6:36:26 PM2018/01/25 23:36:26 [emerg] 14#14: host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:36:26 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:36:39 PMGenerating a 2048 bit RSA private key
1/25/2018 6:36:39 PM....................................................+++
1/25/2018 6:36:39 PM.......................+++
1/25/2018 6:36:39 PMwriting new private key to '/tmp/snakeoil.pem'
1/25/2018 6:36:39 PM-----
1/25/2018 6:36:39 PM2018/01/25 23:36:39 [emerg] 13#13: host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:36:39 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:36:54 PMGenerating a 2048 bit RSA private key
1/25/2018 6:36:54 PM................................................................................................+++
1/25/2018 6:36:54 PM.+++
1/25/2018 6:36:54 PMwriting new private key to '/tmp/snakeoil.pem'
1/25/2018 6:36:54 PM-----
1/25/2018 6:36:54 PM2018/01/25 23:36:54 [emerg] 13#13: host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:36:54 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:37:09 PMGenerating a 2048 bit RSA private key
1/25/2018 6:37:09 PM....................................................+++
1/25/2018 6:37:09 PM...........................+++
1/25/2018 6:37:09 PMwriting new private key to '/tmp/snakeoil.pem'
1/25/2018 6:37:09 PM-----
1/25/2018 6:37:09 PM2018/01/25 23:37:09 [emerg] 13#13: host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:37:09 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:37:10 PMGenerating a 2048 bit RSA private key
1/25/2018 6:37:10 PM.............+++
1/25/2018 6:37:10 PM.......................................................+++
1/25/2018 6:37:10 PMwriting new private key to '/tmp/snakeoil.pem'
1/25/2018 6:37:10 PM-----
1/25/2018 6:37:10 PM2018/01/25 23:37:10 [emerg] 13#13: host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:37:10 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:43
1/25/2018 6:37:24 PM2018/01/25 23:37:24 [emerg] 12#12: host not found in upstream "admin" in /etc/nginx/nginx.conf:76
1/25/2018 6:37:24 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:76
1/25/2018 6:37:25 PM2018/01/25 23:37:25 [emerg] 12#12: host not found in upstream "admin" in /etc/nginx/nginx.conf:76
1/25/2018 6:37:25 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:76
1/25/2018 6:37:39 PM2018/01/25 23:37:39 [emerg] 12#12: host not found in upstream "admin" in /etc/nginx/nginx.conf:76
1/25/2018 6:37:39 PMnginx: [emerg] host not found in upstream "admin" in /etc/nginx/nginx.conf:76
Since https://github.com/Mailu/helm-charts is installable OOTB on Rancher 2, shouldn't we archive this repo and point to: https://github.com/Mailu/helm-charts ?
I am trying to test this stack on a private network. I created there certs in /mailu/certs (as described here https://github.com/Mailu/Mailu/wiki/Setup-Guide )
then started the rancher stack with Bind address = local machines IP and local DNS name
however multiple containers fail to start due to issues with ports, all ports are available on the host. Bellow is the error from the IMAP container.
(Failed to allocate instance [container:1i439]: Bad instance [container:1i439] in state [stopping]: Allocation failed: No healthy hosts meet the resource constraints: [ports: [192.168.1.140:110:110/tcp, 192.168.1.140:143:143/tcp, 192.168.1.140:993:993/tcp, 192.168.1.140:995:995/tcp, 192.168.1.140:4190:4190/tcp], ResourceType: instanceReservation, Amount: 1])
im using Rancher v1.6.0
I would like to use haproxy in rancher instead of nginx, so instead of mapping container to host ports directly in compose, I expose the container ports internally, and then I can use haproxy to map the ports on a per-domain basis.
I also run letsencrypt and haproxy uses the cert generated exclusively. so I would prefer to get rid of nginx altogether and not let any mailu container have access to the cert private keys.
is what I described here doable?
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.