Menu Close

devstate.de

A Dreams Engine Blog. This Blog may not make any sense to you. This is a collection of internal snippets that we collect with our experiences, but we hope some of our post will help you in some way.

Tag / docker

Docker+WP

Create a docker-compose.yml file in a any folder i.e. /Documents/Docker/mydomainsample.com/docker-compose.yml docker-compose.yml version: ‘2’ services: wordpress: depends_on: – mysql image: wordpress:php7.0 ports: – “8080:80” volumes: – ./htdocs/assets:/var/www/html/wp-content links: – mysql environment: WORDPRESS_DB_HOST: mysql:3306 WORDPRESS_DB_PASSWORD: wp mysql: image: mariadb:10.1.19 ports: – “8081:3306” volumes: – ./databases:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: wp Know Issues WordPress Docker not starting or closing unexpectedly: […]

Continue Reading