Category : docker

I’ve got a docker container setup running on a machine, which has: A PHP Web Server Container A MySQL 8.0 Container A PHPMyAdmin Container Here’s roughly what my docker-compose.yml file has: version: ‘3.3’ services: front: build: context: ./front dockerfile: Dockerfile container_name: front-end depends_on: – db ports: – 8000:80 # phpmyadmin phpmyadmin: container_name: phpmyadmin depends_on: – ..

Read more

When I run this command from my local machine: docker-compose exec php php ../artisan migrate I receive the following error message: In functions.php line 431: No suitable servers found (`serverSelectionTryOnce` set): [Failed to resolve ‘db’] The environment code structure on the local machine looks like this: . +– _images | +– _php | +– +– ..

Read more

I’m using this Stack from the docker hub provided by Bitnami to test a crm. > $ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-suitecrm/master/docker-compose.yml > > docker-compose.yml $ docker-compose up -d file yml version: ‘2’ services: mariadb: image: ‘docker.io/bitnami/mariadb:10.3-debian-10’ environment: – MARIADB_USER=bn_suitecrm – MARIADB_DATABASE=bitnami_suitecrm – ALLOW_EMPTY_PASSWORD=yes volumes: – ‘mariadb_data:/bitnami’ suitecrm: image: ‘docker.io/bitnami/suitecrm:7.9.1-r0’ environment: – MARIADB_HOST=mariadb – MARIADB_PORT_NUMBER=3306 – SUITECRM_DATABASE_USER=bn_suitecrm ..

Read more