Tag: deployment

How to copy files in maven build that can be used at run time on Docker container?

I am new to Docker and Kubernates. I’ve a working java 8 application and it’s docker image (docker image is generated via maven, i.e no docker file). I’ve also minikube of Kubernates installed and running on latest mac. The application is deployed and is running however, I couldn’t find a file that I process inside […]

Docker swarm on physical machines without docker-machine

I want to create a docker swarm cluster on several physical machines using: myMac:config proshik$ docker swarm init Gives output: docker swarm join \ –token SWMTKN-1-0ly1gp1ij9sa6cxel7ed9w4d3ytyr83jn9z5cty1cu7xu4omjb-et354qzda8o58vhgkuj8de58z \ But when I try to join other hosts in this physical network with command: root@laptop:~# docker swarm join –token SWMTKN-1-0ly1gp1ij9sa6cxel7ed9w4d3ytyr83jn9z5cty1cu7xu4omjb-et354qzda8o58vhgkuj8de58z It will output: Error response from […]

Docker image for aspNet core hangs on windows

I am trying to build a docker image for aspnet core on windows(which eventually I intend to deploy on an ubuntu box). I am following the sample “as is” given in following link: deploy aspet core on linux using docker container Problem appears when I try building docker image using following command given in tutorial: […]

Deploying a minimal flask app in docker – server connection issues

I have an app who’s only dependency is flask, which runs fine outside docker and binds to the default port 5000. Here is the full source: from flask import Flask app = Flask(__name__) app.debug = True @app.route(‘/’) def main(): return ‘hi’ if __name__ == ‘__main__’: app.run() The problem is that when I deploy this in […]

Migrating from shared development database to single database for each developer

We are planning migrating from single shared development database model (for local deployments and CI) to individual database for each developer per each version branch, requiring easy back off to initial set of data for that version. Problem with shared database is obvious. Little mistake or experiment from one developer could potentially break all other […]

Is it possible to log into Gitlabs container registry without using the CI runner?

Is it possible to log into the Gitlab registry automatically from a script outside of the context of their CI runner? I have a very simple deployment process with a home-baked script which does the following in a nutshell: build container image push to registry.gitlab.com log into the target server pull the container image from […]

How packaging and deployment works in Azure ?

I am building bigdata solution on Azure using HDInsight r/spark/hbase clusters . I am looking for help/guidance/approach on packaging , prod deployment & any need for docker on Azure . 1) Kindly can I get directions/help on packaging for the solution on Azure? 2) Similarly how deployment works on Azure big data solution? 3) if […]

uwsgi layer blocks one particular API call from nginx

I built a server using Flask framework in Python, and while deploying I used nginx to serve requests. I deployed this server using docker. When I run this application normally on localhost or don’t use a nginx base image in docker, the code runs as expected. However, when I use a nginx layer for deployment, […]

how process static file when deploying django using docker and aws eb

I used Django, Docker and AWS Elastic Beanstalk to employ my website. I followed the instruction of https://github.com/glynjackson/django–docker-template. I met problem when I try to load static file, the browser try to visit mysite.com/static/css/xx.css to get the css and javascipt file which is different with what I run it locally. In settings.py: STATIC_URL = ‘/static/’ […]

Docker same image but workings in different way

I need to create a deployment system with Bitbucket’s Pipelines for my symfony project. If you want to use Pipeline you need to use a docker image. I have configure my pipeline in this way: image: laraedit/laraedit pipelines: branches: testing: – step: script: – rm -rf var/cache/ – composer install – mkdir -p ~/.ssh – […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.