Jump to content
cheesemarathon

[Support] cheesemarathons repo

621 posts in this topic Last Reply

Recommended Posts

12 minutes ago, cheesemarathon said:

Head to /ghost not /login

That should work

I'm sorry, I'm probably asking a stupid question. But I do not understand. mydomain.ru/ghostnot/login

So write? Or what?

Share this post


Link to post
Just now, muwahhid said:

I'm sorry, I'm probably asking a stupid question. But I do not understand. mydomain.ru/ghostnot/login

So write? Or what?

Go to mydomain.ru/ghost

Share this post


Link to post

does anyone have a Minio.conf.sample file for letsencrypt ?

Share this post


Link to post
55 minutes ago, Danuel said:

does anyone have a Minio.conf.sample file for letsencrypt ?

server {
	listen 80;
	server_name minio.yourdomain.com;
	return 301 https://$server_name$request_uri;
}

server {
    listen 443 ssl;
    server_name  minio.yourdomain.com;
    
    ssl_certificate /config/keys/letsencrypt/fullchain.pem;
    ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
    ssl_prefer_server_ciphers on;

    # To allow special characters in headers
	 ignore_invalid_headers off;
	 # Allow any size file to be uploaded.  
	 # Set to a value such as 1000m; to restrict file size to a specific value
	 client_max_body_size 0;
	 # To disable buffering
	 proxy_buffering off;
	
	location / {
		proxy_set_header Host $http_host;
		proxy_pass http://X.X.X.X:9768;
	}
}

 

Share this post


Link to post
On 8/3/2020 at 8:43 PM, cheesemarathon said:

server {
	listen 80;
	server_name minio.yourdomain.com;
	return 301 https://$server_name$request_uri;
}

server {
    listen 443 ssl;
    server_name  minio.yourdomain.com;
    
    ssl_certificate /config/keys/letsencrypt/fullchain.pem;
    ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
    ssl_prefer_server_ciphers on;

    # To allow special characters in headers
	 ignore_invalid_headers off;
	 # Allow any size file to be uploaded.  
	 # Set to a value such as 1000m; to restrict file size to a specific value
	 client_max_body_size 0;
	 # To disable buffering
	 proxy_buffering off;
	
	location / {
		proxy_set_header Host $http_host;
		proxy_pass http://X.X.X.X:9768;
	}
}

 

thank you, worked

 

but, there is any way to add more users ?

Share this post


Link to post
25 minutes ago, cheesemarathon said:

i did saw that guide but does not help me 

 

from minio terminal,  mc admin user add myminio newuser newuser123

if i type minio -h in terminal 

/ # minio -h
NAME:
  minio - High Performance Object Storage

DESCRIPTION:
  Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO

USAGE:
  minio [FLAGS] COMMAND [ARGS...]

COMMANDS:
  server   start object storage server
  gateway  start object storage gateway
  
FLAGS:
  --certs-dir value, -S value  path to certs directory (default: "/root/.minio/certs")
  --quiet                      disable startup information
  --anonymous                  hide sensitive information from logging
  --json                       output server logs and startup information in json format
  --help, -h                   show help
  --version, -v                print the version

 

so i don't see  any option to add more users

Share this post


Link to post
2 minutes ago, Danuel said:

i did saw that guide but does not help me 

 

from minio terminal,  mc admin user add myminio newuser newuser123

if i type minio -h in terminal 

/ # minio -h
NAME:
  minio - High Performance Object Storage

DESCRIPTION:
  Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO

USAGE:
  minio [FLAGS] COMMAND [ARGS...]

COMMANDS:
  server   start object storage server
  gateway  start object storage gateway
  
FLAGS:
  --certs-dir value, -S value  path to certs directory (default: "/root/.minio/certs")
  --quiet                      disable startup information
  --anonymous                  hide sensitive information from logging
  --json                       output server logs and startup information in json format
  --help, -h                   show help
  --version, -v                print the version

 

so i don't see  any option to add more users

Minio is controlled via minio client

https://docs.min.io/docs/minio-client-quickstart-guide.html

Read those then you should better understand how to add users. 

 

FYI I've not done this myself

Share this post


Link to post

Hi, 

 

I was hoping someone could give me a nudge in the right direction. 

 

I'm trying to setup OAuth2 and have followed the guide here; OAuth2 Guide

 

My problem however is that I am receiving a "Failed to load config: unable to load config file: While parsing config: (1, 1): unexpected token" error. I've gone over the config file several times and I can't see where I have formatted it incorrectly. 

 

For reference, I am trying to set this up for my remote access to bitwarden. Once I get it working I hope to expand it to my other containers. 

 

I have included some screenshots below in the hopes that someone can point out my mistake.

 

Many thanks. 

 

 

20200914_120124.jpg

 

20200914_115629.jpg

 

20200914_120208.jpg

 

20200914_115650.jpg

20200914_115923.jpg

20200914_115957.jpg

Edited by LoneTraveler

Share this post


Link to post
On 9/14/2020 at 12:09 PM, LoneTraveler said:

Hi, 

 

I was hoping someone could give me a nudge in the right direction. 

 

I'm trying to setup OAuth2 and have followed the guide here; OAuth2 Guide

 

My problem however is that I am receiving a "Failed to load config: unable to load config file: While parsing config: (1, 1): unexpected token" error. I've gone over the config file several times and I can't see where I have formatted it incorrectly. 

 

For reference, I am trying to set this up for my remote access to bitwarden. Once I get it working I hope to expand it to my other containers. 

 

I have included some screenshots below in the hopes that someone can point out my mistake.

 

Many thanks. 

 

 

20200914_120124.jpg

 

20200914_115629.jpg

 

20200914_120208.jpg

 

20200914_115650.jpg

20200914_115923.jpg

20200914_115957.jpg

Everything there looks ok. Have you put an email in the emails.cfg file to authenticate against?

Share this post


Link to post
21 minutes ago, cheesemarathon said:

Everything there looks ok. Have you put an email in the emails.cfg file to authenticate against?

Hi, 

 

Many thanks for replying.

 

I have just the one email address in the emails.cfg file, and it's the same one that I use to login to my Google account to obtain the client ID. 

 

20200915_131556.jpg

 

***Edit - Just to add a little further, I've completed up to step 12 of "OAuth2 Proxy Setup", however it is here that I am getting stuck as the container will not start, preventing me from moving on to the next step of "configuring NGINX". 

Edited by LoneTraveler

Share this post


Link to post
22 hours ago, LoneTraveler said:

Hi, 

 

Many thanks for replying.

 

I have just the one email address in the emails.cfg file, and it's the same one that I use to login to my Google account to obtain the client ID. 

 

20200915_131556.jpg

 

***Edit - Just to add a little further, I've completed up to step 12 of "OAuth2 Proxy Setup", however it is here that I am getting stuck as the container will not start, preventing me from moving on to the next step of "configuring NGINX". 

Can you confirm what files you have in /mnt/user/appdata/oauth2/

 

You should have emails.cfg and oauth2_proxy.cfg

I couldn't tell from your screenshot.

Share this post


Link to post
1 minute ago, cheesemarathon said:

Can you confirm what files you have in /mnt/user/appdata/oauth2/

 

You should have emails.cfg and oauth2_proxy.cfg

I couldn't tell from your screenshot.

Hi, 

 

Yes, those are the only two files I have in that folder; emails.cfg and oauth2_proxy.cfg

 

Regards. 

Share this post


Link to post
18 minutes ago, LoneTraveler said:

Hi, 

 

Yes, those are the only two files I have in that folder; emails.cfg and oauth2_proxy.cfg

 

Regards. 

Then the only thing I can think is that perhaps your line endings have gone wrong. I have attached my config, minus my secrets. I marked the values that you need to replace with REPLACE_ME then replace your existing config with my one, as I know mine works.

 

Make sure you use an editor that adheres to linux file line endings such as notepad++

oauth2_proxy.cfg

Share this post


Link to post
13 minutes ago, cheesemarathon said:

Then the only thing I can think is that perhaps your line endings have gone wrong. I have attached my config, minus my secrets. I marked the values that you need to replace with REPLACE_ME then replace your existing config with my one, as I know mine works.

 

Make sure you use an editor that adheres to linux file line endings such as notepad++

oauth2_proxy.cfg 1.8 kB · 0 downloads

You're a gent, thank you very much! 

Share this post


Link to post

Worked like a charm, thank you very much! 

 

Can I just clarify a small point please, in the "cookie_domains" field, do you put your top level domain url (ie mydomain.com) or do you list each page you want to protect (ie nextcloud.mydomain.com, bitwarden.mydomain.com etc)? 

20200916_123254.jpg

Share this post


Link to post
1 hour ago, LoneTraveler said:

Worked like a charm, thank you very much! 

 

Can I just clarify a small point please, in the "cookie_domains" field, do you put your top level domain url (ie mydomain.com) or do you list each page you want to protect (ie nextcloud.mydomain.com, bitwarden.mydomain.com etc)? 

20200916_123254.jpg

Top level domain only

Share this post


Link to post

Can someone please advise me on how to pass my postgres docker to the Taskcafe docker template? 

I have a postgres11 docker named "postgres-taskcafe" running on <my_unraid_ip>:5433

In the Taskcafe template I have tried passing the following into TASKCAFE_DATABASE_HOST: postgres-taskcafe; <my_unraid_ip>:5433
 

With the following error: error="dial tcp: lookup postgres-taskcafe on 1.1.1.1:53: no such host"

Network Type set to "Bridge" like the rest of my dockers. I'm sure I'm making a noob mistake. Thanks in advance!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.