-
Notifications
You must be signed in to change notification settings - Fork 24
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 set up doesn't work for me #232
Comments
The docker compose config is up to you. I think, after adding the missing .env and creating the dhparam dir, it should be working. |
Ok - thanks. I'll investigate further. |
Maybe the changes I have just made to the docker-compose.yml file will help. |
Yes that does help. Thanks! I am relatively new to using docker, so maybe I should have spotted something odd with those volumes, but I didn't! So to confirm. I'm pretty sure my steps are: Clone the repo and cd into it: Create 2 .env files Create a directory for the certbot certificates then run
When completed you will have 4 containers, stream_beta_1, stream_embed_1, webserver, certbot And the services are at: |
Just an update. I think the above gives me a version of the site that runs, but that cannot be developed easily. So I have a friend that I think I can persuade to help me figure out a good working dev solution with docker. I'm actually running stuff without docker simply and easily, so I can try to develop without it - but I quite like the docker stuff for knowing I have the same shared development environment as others. Thanks for all your help folks. |
FWIW, in my experience doing automatic reloaded front-end web dev inside docker can be pretty slow. |
Operating system
Ubuntu 20.04
Browser name and version
Firefox 99
Expected behavior
I'm expecting to see a running streaming site on http://localhost:8080 when I run docker-compose up -d
Actual behavior
The build fails in a couple of places. When I fix those I don't seem to have a persistent image that stays up
Steps to reproduce behavior
Clone the repo
cd stream
docker-compose up -d
Build will fail.
Two steps to help it along:
Error: missing .env file
in /embed create a .env file from the .env.example (I did not change any of the contents)
Error: missing directory
mkdir dhparam/ (for the certificates to sit in)
I'm no docker expert, so sorry if I've missed the point somewhere.
If the docker build is something that should be easy for development, then I'm happy to help document it.
The text was updated successfully, but these errors were encountered: