Category "docker-compose"

How to deploy container using docker-compose to google cloud?

i'm quite new to GCP and been using mostly AWS. I am currently trying to play around with GCP and want to deploy a container using docker-compose. I set up a

Install node_modules inside Docker container and synchronize them with host

I have the problem with installing node_modules inside the Docker container and synchronize them with the host. My Docker's version is 18.03.1-ce, build 9ee9f40

Installing latest docker compose on Ubuntu

I use the following to install the most recent docker compose for my ubuntu server: curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-c

[VS2019/2022]How exactly {ServicePort} in the Docker-Compose project works and can be configured?

How to use other service in the Docker-Compose to be paired with the {ServicePort}? I only want a web-server(like Nginx) service to be exposed. How can I point

Docker Error bind: address already in use

When I run docker-compose up in my Docker project it failes with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address a

Volume odoo. Permission issue

Ubuntu 18.04. I am using odoo docker files docker-compose: version: '3.7' services: web: build: ./build # image: odoo:13.0 # user: root depen

Speed up docker-compose shutdown

When I set up my application to run via docker-compose up, it takes several seconds to stop on ctrl+c. However, if I run docker kill ..., the container stops ve

docker-compose with multiple postgres databases from sql dumps

I know this may seem like a duplicate of docker-compose with multiple databases, but I still can't manage to get it working after going through the answers. He

How to run "--verbose" for wiremock in docker compose file

I want to get verbose output from mockwire when running in docker using docker compose file. I tried these three ways but none of them work. first way services:

Unable to display GUI application from Windows container : Windows 2019 Server

I need to use Docker Windows containers for Windows applications to run on it. I build an image with Windows 2019 Server and installed x server for the display

Differences between external and default volume in Docker Compose?

There are different custom installations of a variety of docker-compose applications. And often they use external volumes instead of the default ones directly i

Django/Docker/Postgresql: app connected to the 'wrong' database

I have develop a project with Django/Docker/Postgresql and use docker-compose to deploy on a linux remote server. I want to deploy 2 apps based on the same code

How to configure prometheus with alertmanager?

docker-compose.yml: This is the docker-compose to run the prometheus, node-exporter and alert-manager service. All the services are running great. Even the h

Find IP address of docker container running inside docker swarm

I have a docker swarm cluster. I deployed a Elassandra docker image. Now I want to find that the docker container's IP address for the seed node: The followi

Docker on Mac M1 gives: "The requested image's platform (linux/amd64) does not match the detected host platform"

I want to run a docker container for Ganache on my MacBook M1, but get the following error: The requested image's platform (linux/amd64) does not match the dete

Lumen - Postgresql setup - Composer

really strugling on this one, it's not the first I try to set this up but I really can't see why it's not working. So this is my app.docker file: FROM php:7-f

Lumen - Postgresql setup - Composer

really strugling on this one, it's not the first I try to set this up but I really can't see why it's not working. So this is my app.docker file: FROM php:7-f

Is there any text editor inside docker container?

I have run 3 docker containers on one server.One - with nginx, two - with node apps.I can enter inside nginx container using exec command, but I want to look th

Prometheus alertmanager persistent storage with docker

For some reason I can't get persistent storage to work with alertmanager. This is my compose: alertmanager: image: 'my/alertmanager/prod:latest' resta

How do I prevent root access to my docker container

I am working on hardening our docker images, which I already have a bit of a weak understanding of. With that being said, the current step I am on is preventin