Category : docker-compose

So i have deploy my stack application and everything is working as expected. Three container replicas running. Now i access phpmyadmin and try to login to the mysql but i got the error: mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution Both the phpmyadmin and mysql container are on the same network. version: “3.9” ..

Read more

here is my Dockerfile: FROM node AS builder WORKDIR /app COPY package*.json ./ COPY prisma ./prisma/ COPY tsconfig.build.json ./ COPY tsconfig.json ./ RUN npm install COPY . . RUN npm run build FROM node COPY –from=builder /app/node_modules ./node_modules COPY –from=builder /app/package*.json ./ COPY –from=builder /app/dist ./dist EXPOSE 3000 CMD [ "npm", "run", "start:dev" ] and ..

Read more

I am trying to setup a keycloak server from docker compose file(not docker file) and connecting a database on my localhost. So I used host.docker.internal as my DB_ADDR param version: ‘3.8’ services: keycloak: container_name: keycloak image: jboss/keycloak:15.0.2 command: [ ‘-b’, ‘0.0.0.0’, ‘-Dkeycloak.migration.action=import’, ‘-Dkeycloak.migration.provider=dir’, ‘-Dkeycloak.migration.dir=/opt/jboss/keycloak/realm-config’, ‘-Dkeycloak.migration.strategy=OVERWRITE_EXISTING’, ‘-Djboss.socket.binding.port-offset=1000’, ‘-Dkeycloak.profile.feature.upload_scripts=enabled’, ] volumes: – ./realm-config:/opt/jboss/keycloak/realm-config environment: – KEYCLOAK_USER=admin – ..

Read more

I am trying to add IMAP-support for my LAMP Docker container. I tried to add all the installations and configurations but still get the error undefined function imap_open() My Dockerfile: FROM php:7.4-apache RUN apt-get update && apt-get install –no-install-recommends -y cron git wget libicu-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev libzip-dev libonig-dev libc-client-dev libkrb5-dev ca-certificates curl git libmcrypt-dev ..

Read more

my docker has began to give me error almost every time I try to rebuild this week. Sometimes it works, sometimes gives me error. It always the same message, i/o timeout. I dont understand, the docker compose yml is correct I assume, since it has been working fine before. I have tried to remove all ..

Read more

I am running docker-compose in Github-Action. docker-compose.yml has following service definition for postgres postgres: container_name: postgres image: postgres:12 restart: always volumes: – ./test/data/init.sql:/docker-entrypoint-initdb.d/init.sql environment: POSTGRES_DB: "pgdb" POSTGRES_USER: "pguser" POSTGRES_PASSWORD: "fr2Yitl4BgX" ports: – "${POSTGRES_PORT:-5432}:5432" healthcheck: test: [ "CMD-SHELL", "pg_isready" ] interval: 10s timeout: 5s retries: 5 networks: – "local-api" But when container start on serf-hosted Github-Action ..

Read more