-
Notifications
You must be signed in to change notification settings - Fork 1k
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
swagger docker-compose instant openapi #989
Comments
Sounds great! Can you share a link with the community? Is this a proposal to improve the docker-compose.yml? |
talking abt swagger it can be considered an improvement, regarding the composition itself, it is actually an alternative, it uses nginx instead of apache and php-fpm (not exposed). |
You could do a pr for an alternative (extended) docker-compose.yml, would that make sense? Kind regards, Maurits |
can it be bundled in a sub folder? |
I'm also fine with a separate project and I'll link to it from the README (that way you can receive credits/questions/suggestions), whatever you prefer. |
first commit.. working on it |
I use envsubst to customise api.php configuration function.
would make it possible to download and publish the latest api.php version upon each deploy. PS: I've added phpmyadmin image as well |
Can you use environment variables? They are supported, see: https://github.com/mevdschee/php-crud-api#configuration |
I prefer adminer, see: https://www.adminer.org/ |
I added a link to the readme, see: a0c5de0 |
I didn't realise I could use them on docker as well
ok I'll put it up |
That's not what I meant.. I'm okay with PHPMyAdmin. Feel free to use either, I'm just sharing my (personal) preference. I wondered if you ever heard about it and you should try it.. it is great :-) |
Yes of course no worries I completely trust u and ur opinions.. I'll give both the options.
I've implemented it, if u ever have time, can u give it a spin? following the provided instructions it seems to simply work, just wondering if I'm doing something I give for grant that is not straightforward for others |
ok two versions available, default featuring adminer, a branch named phpmyadmin featuring phpmyadmin |
I did and I ran into an issue, see: nik2208/php-crud-api-quick-start#3 I also proposed a minor fix in the readme: nik2208/php-crud-api-quick-start#2 I hope you like that :-) |
working on a project I prepared a docker-compose file to put up mysql, php, and swagger to work straight away on the php-crud-api endpoint.
this is what I ended up with:
docker-compose.yml
I've also have a repo available involving mysql, nginx, php-fpm and swagger to be up and running in seconds
The text was updated successfully, but these errors were encountered: