Questions tagged [docker-compose]
Compose is a tool for defining and running complex applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
docker-compose
32,255
questions
0
votes
0
answers
19
views
Docker Hadoop Installation Error: HADOOP_HOME and hadoop.home.dir are unset
I'm setting up a Hadoop environment using Docker and encountering an error during installation:
My setup:
Using Docker-compose.yml to configure multiple services (namenode, datanode, resourcemanager, ...
1
vote
0
answers
9
views
Parse Platform dashboard unauthorized when accessing the parse-server
What are the possible problems that is causing {"error":"unauthorized"} in the Parse Dashboard when accessing the dashboard is accessing: http://192.168.2.10:1337/parse/serverInfo
...
-3
votes
0
answers
20
views
Manual IP setting for router does not let docker containers access internet [closed]
I am running Ubuntu on the system, changed ip address from DHCP to manual (192.168.29.106).
After changing, the system was able to access the internet, but when I try it from inside a docker container,...
-1
votes
1
answer
73k
views
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'XXX.XXX.XXX.XXX' (timed out)") [closed]
I'm using docker compose and Flask python.
I'm trying to run an old application but I get sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '...
0
votes
0
answers
16
views
No Logs created in spark history server
I am using docker to setup spark-master, spark-worker and spark-history-server.
For some reason, I am not able to see any logs on history-server although server is running and log directory is ...
0
votes
0
answers
57
views
Docker compose down not removing container
For some reason, I keep getting this error where the container name is already being use, I don't always get it on deployment, but it happens frequently enough that it can cause a problem
err: Error ...
0
votes
0
answers
17
views
Flyway Docker-Compose Windows - SQL Files Not Found
I am attempting to migrate files with Flyway to an Azure Postgres database that already contains a table. I ran the flyway migrate command with the baseline environment variable equal to true and was ...
0
votes
0
answers
17
views
Pulsar Initialization in Docker Composition
I'd like to have a single docker-compose.yaml file for starting my development environment. In the Docker composition I have a Pulsar container:
version: '3.8'
services:
pulsar:
image: ...
0
votes
0
answers
24
views
Postgres Docker container does not start with a custom shell script
I have a docker-compose file with a Postgres image. The service definition is as follows:
services:
postgres:
image: postgres:latest
container_name: postgres
volumes:
- "{{ ...
1
vote
1
answer
31
views
How to properly introspect Keycloak access tokens using the internal Docker URL?
This code successfully introspects a Keycloak access token using Python Keycloak and FastAPI:
keycloak_openid = KeycloakOpenID(
server_url="https://example.com/auth/",
realm_name=&...
0
votes
0
answers
23
views
Database does not exist docker image Npgsql.PostgresException (0x80004005): 3D000: database "CatalogDb" does not exist
I am trying to connect to postgres database running on docker container from visual studio, I am sure the DB exists and here is the logs:
docker ps:
docker ps
CONTAINER ID IMAGE COMMAND ...
0
votes
0
answers
31
views
Building local docker images tagged with current git branch name
I have a docker compose definition files with multiple services defined in it. For every service the general pattern (irrelevant lines omitted) is:
isagog-kg2:
build:
context: /home/mema/...
1
vote
1
answer
34
views
Docker Compose: Mounted Laravel's .env File Not Passing Environment Variables (Laravel, MySQL)
I'm trying to connect my Dockerized Laravel application to a MySQL database using Docker Compose. I've mounted the .env file that contains the DB_DATABASE variable, but I'm still encountering the ...
1
vote
0
answers
11
views
setting JupyterLab password in DOcker Compose
I'm having a problem running JupyterLab locally, and setting the password via Docker Compose file. I can get it working via a docker run command, but not via Compose
This also works fine with the ...
0
votes
2
answers
29
views
Error: P1000: Authentication failed against database server at `localhost`, the provided database credentials for `postgres` are not valid
api git:(main) ✗ pnpm prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", ...