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
Create a docker image #10
Comments
+1 |
3 similar comments
👍 |
👍 |
+1 |
A docker container would be awesome! |
+1 |
I like this project and would be happy to contribute a Docker image later tonight, unless someone else has started already? |
@ColmHally I was planning on doing it too, but since you stepped up first, go ahead :) |
@LuRsT ha! Ok - when I've got something, would you mind reviewing? I'll probably add a |
@ColmHally Sounds good! Yes, using docker compose is a good idea :) |
I'm current doing it 💃 |
@NamPNQ cool! |
Since this is a laravel project you can use homestead, the preconfigured vagrant environment. Basic docs are here: http://laravel.com/docs/5.1/homestead. I'd personally choose the Per Project Installation (http://laravel.com/docs/5.1/homestead#per-project-installation), run I know this is specifically a docker thread but if you have no preference between docker and vagrant, the homestead VM is already setup to host laravel projects. |
@w0rd-driven they both have their advantages and disadvantages, the project could support both if @phanan accepts. |
+1 |
2 similar comments
+1 |
+1 |
sounds interesting, can I see it as well? |
+1 |
3 similar comments
+1 |
+1 |
+1 |
I would be happy to create a Vagrant and a docker image, but Idk if we will end doing the same thing at the same time... Someone could help me because I'm new here 🚶 |
Hi friends,
Config admin info and db info
Run docker
It's done,..but i get error in larevel, i don't familar with larevel to solve it, anyone can help me to continue |
@NamPNQ You need to run |
@phanan: I got my mistake, I set |
Thanks @NamPNQ , any chance you could swap out Apache for Nginx? |
I don't think this is proper.
|
@etopian This looks great! |
@etopian Why not include the database in the image aswell? |
@Cotix I run 25 websites on my server. i don't want to run 25 db instances. just use any mysql/mariadb database image. i bind port 3306 to the first IP in Docker's subnet range, 172.17.0.1, so it's accessible to all containers. it's trivial to add an db to the container though, just fork and add it. |
@SkinyMonkey don't like the concept of strongly coupled things, if you want to upgrade your database how do you do that with 25 sites linked to the db container. docker says you should use an ambassador container, but that just seems like too much complexity. my way of doing it is nice and simple and lets me upgrade the database container anytime i want. i mount the database data dir from the host so that never goes away. |
Mmh, in this particular context I don't imagine people launching 25 instance of koei but ok ;) |
@SkinyMonkey btw if you want to link a container you can do it with this image.. just specify the link as the DB_HOST... i.e. -v DB_HOST=mysql |
@kevincaradant Hi, |
Thank you @CedricGatay , i like your repo simple. It's very interesting. So i replace that :
By that :
I deleted apache and user nginx.
After i see, you use something that i didn't understand before "docker-compose" . I get yours but in "links" you have db:db . What is it ? i replace by what ? After if i understand, i have to realize this :
Then :
Thank you for all after that , a lot of things will be more clear for me :D |
@kevincaradant I think you need to read more of docker documentation. In fact the docker link feature is used to link container. My With compose you don't need to run your docker file manually, but you only have to run via compose (the To use the repository I gave you, you only need to symlink your music to the proper folder and everything should be working (perhaps some improvements are possible by using apache or nginx instead of php though) |
ohh oki thank you for this information , i'm going to learn more about this subject, , i ask you, just a last question; I'm trying to use your repo . But i get this question with your command (maybe i'm stupid but i think, you don't give me the solution about this ) :
What need to mention ? Thank you Edit : it was just a problem of rights ... sudo fix it.... sorry for this useless question |
@kevincaradant add your user to the docker group ( I updated my docker image to use php7 with apache2 (cc @phanan). Feel free to take a look at it. |
yep i watch your repo very often, i see your update but i was still to understand your first commit :) , i will check that tomorrow now i know the base of docker. Thank you @CedricGatay :) and ok for the command about rights ;) |
+1 For now, I only want test it. The list of dependencies is incredible! |
i think i'm not so far to success, but in the moment that does not work... this is my repo inspired by existing repo on docker : https://github.com/kevincaradant/armhf_docker_koel/tree/dev , even the readme is not changed ^^, . It's for intel but i can easily trnsform it for arm that why i like my repo. If someone can help me about config because i get this error in : /DATA/htdocs/storage/logs/laravel.log
i don't know what can i change . But when i see that : |
Hi there! |
@Qeole your page has been referenced by my Docker image. Thanks for the writeup. |
@Qeole try using docker compose for simple setup :D |
I guess any of you can come up with a custom docker now, no need for an "official" kind of. Closing this to clean the list. |
@etopian Thanks for creating this! Everything goes fine, but upon first run, the media path in "Settings" is empty, despite setting it when getting the container setup. I can change it to /DATA/music and can confirm via the CLI that it sees the music, but scanning doesn't seem to work. Any ideas? |
Bump handlebars from 4.0.11 to 4.1.2
I don't have experience with the PHP ecosystem so I might have some problem doing it but if you help me It should be easy/quick to do.
Contact me!
The text was updated successfully, but these errors were encountered: