Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: close registration #1123

Closed
EsmailELBoBDev2 opened this issue Jun 11, 2022 · 15 comments
Closed

Feature request: close registration #1123

EsmailELBoBDev2 opened this issue Jun 11, 2022 · 15 comments

Comments

@EsmailELBoBDev2
Copy link

Hi, I wonder if there a way to close the ability to create new accounts? I want to self-host piped but in same time I want to make it private only me who can sign up

@arisuv
Copy link
Contributor

arisuv commented Jun 12, 2022

I think you should make a fork and disable this feature. then, host your version

@EsmailELBoBDev2
Copy link
Author

oh okay, which part can I change?? the project seems big and I'm newbie

@EsmailELBoBDev2
Copy link
Author

Also why not? invidious got that feature...

@FireMasterK
Copy link
Member

The option is present as a configuration option: https://github.com/TeamPiped/Piped-Backend/blob/master/config.properties#L26-L27

@EsmailELBoBDev2
Copy link
Author

Thanks
I already looked into the file but did not find anything about it (docker generated it!) so maybe let docker generate full copy instead of this?

FireMasterK added a commit to TeamPiped/Piped-Docker that referenced this issue Jun 12, 2022
@FireMasterK
Copy link
Member

They've now been added in TeamPiped/Piped-Docker@c4fe0c1!

Changing config properties still need to be better implemented, however. (perhaps in the script itself)

@EsmailELBoBDev2
Copy link
Author

I know it's out of scope but seems I created DB and can't remove it :)

I noticed I had to change "changeme" password but clearly I did not notice it and I tried to take the volume down and clean everything, even removed docker folder and recloned it from git but seems the DB exist somewhere and I ran docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once piped-frontend piped-backend ytproxy varnish nginx caddy postgres watchtower but no luck too

@FireMasterK
Copy link
Member

FireMasterK commented Jun 12, 2022

Just delete the data/ folder. Ensure the password is same as the init password in postgres's docker-compose.

@EsmailELBoBDev2
Copy link
Author

oh, I forgot to look up in docker-compose. this explains a lot! thanks agian

@EsmailELBoBDev2
Copy link
Author

Oh right I forgot to mention, I want to add my instance: https://piped.esmailelbob.xyz/

It's hosted in Canada and no CDN

@FireMasterK
Copy link
Member

Your instance has been added! Thanks for hosting an instance :D

@EsmailELBoBDev2
Copy link
Author

Your welcome and reply in mastodon xD

also it was nice move to rickroll me by visiting your site....

aspacca pushed a commit to aspacca/Piped-Docker that referenced this issue Jul 23, 2022
@EsmailELBoBDev2
Copy link
Author

EsmailELBoBDev2 commented Aug 5, 2022

Hi again @FireMasterK can you add my tor version of piped? I tried to look up in repos and add my instance but I'm confused where you save the list!
http://piped.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion/

Never mind, seems I can't mirror it over tor, do you have any idea how to achieve it?

@FireMasterK
Copy link
Member

The suggested way to do that would be to create a copy of the services in the docker-compose.yml, and copy the config files, however setting it up isn't easy, I'll add support to the script soon.

Currently, the instances API doesn't support onion URLs either, I'll need to add support for this too.

Also: Your instance seems to go down from time to time and starts failing the healthcheck: https://pipedapi.esmailelbob.xyz/healthcheck, which is likely caused by a database issue.

@EsmailELBoBDev2
Copy link
Author

Also: Your instance seems to go down from time to time and starts failing the healthcheck: https://pipedapi.esmailelbob.xyz/healthcheck, which is likely caused by a database issue.

Because I restart it hourly, I noticed when I leave it running I get DB issues indeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants