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

docker-free installation process? #141

Open
bish0polis opened this issue Feb 29, 2020 · 8 comments
Open

docker-free installation process? #141

bish0polis opened this issue Feb 29, 2020 · 8 comments

Comments

@bish0polis
Copy link

Hey everyone,

I suspect everyone's busy, but if anyone's installed this project without going the docker route, I'd love to see the docs for that.

No rush, just logging this for later.

@Derkades
Copy link

I'm not sure why you'd want to do this. Anyway, you should be able to read the Dockerfile as if it were installation instructions

@bish0polis
Copy link
Author

I'm not sure why you'd want to do this

I smell an opportunity to learn why docker is the super-shiny Open Plan Office of the services space.

Good idea, though, even if it'll put a delay on things. I usually un-bake a docker image through rendering for vagrant and then to a tiny VM - Alpine is fantastic here for its better booting - and this should be no different. Just, without an established paint-by-numbers, it'll have to go into the 'whenever I can' hopper with the rest of it.

Maybe keep this ticket open until me or someone else does that bit. Thanks, though.

@pepelevamp
Copy link

i want to look at using this tool but the fact that it requires docker and half of a universe to actually run is really off-putting. it just seems like its not a program, but half of a guys computer - just for one program to work.

it would be great if this was made more minimal & self-contained and a bit more sane & didnt require all this crazy environment stuff to run.

it shouldnt really need to run in a docker. its not really a way to make tidy software - its a way to make messy software work.

@Derkades
Copy link

it would be great if this was made more minimal & self-contained and a bit more sane & didnt require all this crazy environment stuff to run.

That's exactly the point of a docker container! Keep in mind that docker containers are not like VMs. There is no overhead to running something in a docker container.

By using a container to run this application you don't need to worry about all its services, dependencies, whatever. They ship you a fully set up installation you can run with a single command!

its not really a way to make tidy software - its a way to make messy software work.

This is a good point. However, sometimes software is "messy". Sometimes software can't (or shouldn't) be compiled to a single binary. I wouldn't say ownphotos is too crazy, except for maybe the "proxy" server that seems unnecessary. It's a database server (postgres), caching server (redis), backend, frontend and proxy.

Download the docker-compose.yml file, configure it, then run docker-compose up -d and the application is running within a couple of minutes. Save yourself the hassle of installing everything manually.

@bish0polis
Copy link
Author

Yep, it's shiny, no doubt about that. And it's surely better than installing everything 'manually', which isn't done for 99% of software past 1995. The merits of Docker vs last week's darling is something largely discussed elsewhere, and if Docker isn't the product then most of that debate isn't relevant here but for one issue at-hand:

Docker's not allowed in some organizations for safety, security, reporting and validation problems. Also, for some people it's not their thing because some wart the aficionados see as minor is a really big deal for others.

I'm in the category of people who don't see a path to where docker's ever in use, but would like to use this software. Please keep this ticket open in the hopes that a docker-free installation will be part of the maintained documentation.

@pepelevamp
Copy link

the problem becomes - when you want to install this properly, you are left with two choices:
either install it fully and deal with how messy it is.
or
install the whole universe that comes with it including whatever OS shim like ubuntu 16 etc.

when the software is distributed on its own, and as a docker image, then yeah ya get a try before ya buy thing thats wonderful.
but docker isn't a catch-all solution thats appropriate for every installation type. it shouldn't be a way to deliver/ship software. you can't have 500 OSes for 500 programs.

i dont want some wacky OS running on my system just so i can have a program work. "it cant affect the rest of your system" is true, but so what? its still a huge waste and basically someone else's OS on your hardware & burning CPU cycles

@DigitalWarrior
Copy link

The Development of Ownphotos has stopped. LibrePhotos is a fork that is actively being developed. You can find it here https://github.com/LibrePhotos/librephotos. For a non docker install follow the instructions here https://github.com/LibrePhotos/librephotos-linux

@bish0polis
Copy link
Author

TLDR? PIP and Debs. Two validation hits. But thanks for the excellent pointer -- we can hopefully introduce validation and checksums and Single Source of Truth for software state, since the project is still malleable. Excellent !!

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

4 participants