docker-compose Questions

9

Solved

I set up the PostgreSQL using Docker Compose and the content of the file (compose.yaml) is like so: name: postgres-container services: database: image: postgres restart: always environment: - ...
Susian asked 24/10, 2022 at 13:47

4

I am trying to run mongo:6 in docker container with docker compose file but it always gets exited with warning. Docker version : 23.0.4, build f480fb1 Docker-compose version: v2.17.2 docker-com...
Fossilize asked 28/4, 2023 at 5:1

4

Solved

My docker-compose: version: "2" services: api: build: . ports: - "3007:3007" links: - mongo volumes: - .:/opt/app mongo: image: mongo volumes: - /data/db:/data/db ports: - "27017:270...
Eringo asked 27/6, 2017 at 13:43

2

Solved

Project structure: client nginx web/ celery_worker.py project config.py api/ I have the following services in my docker-compose: version: '3.6' services: web: build: context: ./service...
Clinandrium asked 29/3, 2019 at 3:33

3

Solved

I am currently trying to use redmine with a postgres database but I'm running into some issues when setting up the environment. Lets say I have the following compose file db-redmine: image: 'bitn...
Allethrin asked 2/7, 2021 at 18:19

3

In my docker compose service I have the following: volumes: - ~/DockerStuff/Projects:/root/Documents/Projects - ~/DockerStuff/Downloads:/root/Downloads But when I run docker compose up I'm being...
Volta asked 14/6, 2021 at 10:1

3

I would like to make a docker-compose which starts ollama (like ollama serve) on port 11434 and creates mymodel from ./Modelfile. I found a similar question about how to run ollama with docker comp...
Choleric asked 6/5 at 18:3

2

I have Docker installed on my Windows OS. There is my volumes filed of docker-compose.yml: volumes: - "/var/run/docker.sock:/var/run/docker.sock" I just can't figure out how /var/run/docker.soc...

3

I've set up a docker configuration to run my React app, but when starting the container, I encounter the following error: frontend-1 | failed to load config from /app/vite.config.ts frontend-1 | er...
Duroc asked 16/4 at 18:35

2

I am interested in generating docker-compose.yaml files from Helm charts. Is there a good way or tool to do this? I realize that this is in the opposite direction from what most people are doing. ...
Neurosurgery asked 30/1, 2020 at 7:34

3

Solved

I am using docker compose and this is my yaml file web: dockerfile: Dockerfile-dev build: . command: gulp volumes: - .:/app ports: - '9001:9001' and here is my docker file FROM node:0.12...
Marilumarilyn asked 23/10, 2015 at 7:45

2

This might be a completely lame question, but I was going through the different directive examples of docker-compose and a thought came to my mind. Is there a syntax or a code-book that specifies ...
Becoming asked 4/4, 2018 at 6:58

1

This dockerfile works as expected. But the problem is that I am not able to change the source of volume. version: "3.5" services: mysql: environment: MYSQL_ROOT_PASSWORD: india3391 image: shan...
Myrica asked 23/6, 2018 at 6:13

2

Solved

I have a Postgres DB running in a Docker environment which is set up using FluentDocker in a Xunit test. Xunit is configured to run tests serial. When running a single test, everything works fine. ...
Giamo asked 13/6, 2022 at 10:6

4

I have a docker-compose file which describes several services. All services have volumes attached to them, however only one has the volume named. When I run docker compose down I want to automatica...
Calk asked 7/4, 2021 at 14:49

2

Traces that should have been sent by dapr runtime to zipkin server somehow fails to reach it. The situation is the following: I'm using Docker Desktop on my Windows PC. I have downloaded the sample...
Downrange asked 15/3, 2021 at 21:59

2

Solved

I'm trying to run jaeger and an OTEL collector as docker containers. Unfortunately I run into the following error message: otel-collector | Error: failed to get config: cannot unmarshal the configu...
Vibration asked 13/11, 2023 at 17:34

2

I have been trying to build a docker service which would run django. but keep getting docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpec...
Hawes asked 29/8, 2023 at 17:40

2

Solved

I am deploying some services using Docker Compose. I want to check that my containers are healthy using healthcheck (see Docker Compose documentation here). Let's consider the following code. It wo...
Precedential asked 24/7, 2023 at 23:1

3

Solved

I'm running a Java program from within a Docker container (started with Docker Compose) and it's throwing a bunch of errors caused by UTF-8 characters (as they can't be mapped to the ASCII charset)...
Presbyterian asked 1/7, 2018 at 6:16

4

This has already been asked, but none of the answers have helped me. This is my configuration. Im running docker-compose with two services, a web app in django and the database in mariadb. I can co...
Audiophile asked 24/10, 2019 at 18:21

2

DISCLAIMER: This question has been asked in different forms on Stackoverflow and other venues, but I could get none to work. So I hope someone can help me figure this out once and for all. I need ...
Mayers asked 4/2, 2019 at 21:43

4

Using apache + php-fpm containers in docker-compose, I can't get the php-fpm container to display any errors. docker-compose.yml version: '3' services: php: build: context: ./php ports: - 9...
Forrestforrester asked 21/11, 2018 at 17:25

3

When I'm trying to connect to mongo-express I'm getting a connection issue, kind of error version: "3" services: mongodb: image: mongo ports: - "27017:27017" environment: ...

1

The question How to correctly couple (Docker-)Compose with Podman and enable it through the IntelliJ IDEA UI? Context The general question-idea is how to build a development setup on Windows for a ...

© 2022 - 2024 — McMap. All rights reserved.