Skip to main content

Posts

Showing posts with the label Docker

AVCONV, FFMPEG library added to build Docker image, Lossless MP4 audio extract

One of my project need lib libav-tools or ffmpeg, mediainfo for some image, video thumbnail generate, get info... I see that this is may be overkill when added a quite big lib for only some simple task. But it seems there are not any more lightweight lib available. My Docker image is a special (?) Aptible image for Express JS app (It's based on Alpine distro). My Docker image file: FROM quay.io/aptible/nodejs:v6.9.x ADD package.json /app/ WORKDIR /app RUN apt-install build-essential RUN apt-install g++ RUN apt-install python RUN apt-install libav-tools RUN apt-install mediainfo RUN npm install --production ADD . /app ENV PORT 8081 EXPOSE 8081 These RUN apt-install is my added to default image. Ideally I think I should not do this way because it seem strange and some "unknown" drawback. But it seem most simple way in developer view. Aptible like many other Docker based service (AWS Beanstalk for example) allow custom image, but again it too adventurou...

Docker microservices p2

https://techbeacon.com/8-best-open-source-tools-building-microservice-apps http://blog.christianposta.com/microservices/low-risk-monolith-to-microservice-evolution/ https://laracasts.com/discuss/channels/general-discussion/is-there-microservice-example-in-php The question is a bit naive. A micro-service solution tends to exploit many technologies and many implementations of Lumen/other solutions. I work with micro-services and we must have 100+ repositories deployed on the AWS platform inside docker containers and Lambda functions and lots of SQS/SNS queues exploiting the "pub/sub" model. On a daily basis I am confronted with PHP, NodeJs and GoLang server side solutions. Take a peek at https://www.nginx.com/wp-content/uploads/2015/01/Building_Microservices_Nginx.pdf for starters. Good luck https://blog.shopsys.com/microservices-architecture-in-ecommerce-605299a8215e