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

Would it be possible to create a container for this app? #1

Open
elico opened this issue Nov 5, 2023 · 4 comments
Open

Would it be possible to create a container for this app? #1

elico opened this issue Nov 5, 2023 · 4 comments

Comments

@elico
Copy link

elico commented Nov 5, 2023

I would like to install this app as a container on my local network.
Would you be able to create a Dockerfile for it?

@Dinoosauro
Copy link
Owner

Hi! Sorry for the delay in the response, but this was the first time I used Docker and I had to learn how to use it. I'm currently working on it and it seems that it currently works. I'll try to fix a few minor issues this afternoon and I hope I can upload the Dockerfile today

Dinoosauro added a commit that referenced this issue Nov 12, 2023
- Run ffmpeg-web from a Docker container (#1)
- Everything is downloaded to the dist folder, so that no outside connection needs to be made
Dinoosauro added a commit that referenced this issue Nov 12, 2023
* Add Dockerfile

- Run ffmpeg-web from a Docker container (#1)
- Everything is downloaded to the dist folder, so that no outside connection needs to be made

* Update README with Dockerfile
@elico
Copy link
Author

elico commented Nov 13, 2023

@Dinoosauro You don't need to be sorry at all.
I will look at it and will respond later on.

@elico
Copy link
Author

elico commented Nov 13, 2023

I have created the container but the service is not secured ie plain http and there for there are errors while accessing it via the browser directly.
Any ideas?
I was thinking about first using a self signed certificate with 10 years expiration to make sure that it work over https.

@Dinoosauro what do you think?

  • I will make couple tests later on.

@Dinoosauro
Copy link
Owner

Sorry for the really late reply. I had some issues with creating a certificate to test this (also this was something I never tried - and I know really little about this), but after some time I managed to make it using mkcert (even if certainly there are other ways to make it work also with openssl).

I generated the certificate with something like this:

mkcert -install
mkcert -key-file key.pem -cert-file cert.pem localhost localhost

In any case, I changed the server script so that, if it finds key.pem and cert.pem in the main folder, they'll be used as certificates. After creating a local certificate and installing it to the device, it should work also on https

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

2 participants