You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
625 B

version: '3.1'
services:
wordpress:
image: wordpress
restart: always
ports:
- 8083:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: zp-dr-merettig
WORDPRESS_DB_PASSWORD: zp-dr-merettig
WORDPRESS_DB_NAME: zp-dr-merettig
volumes:
- /opt/docker/zp-dr-merettig-wp/www:/var/www/html
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: zp-dr-merettig
MYSQL_USER: zp-dr-merettig
MYSQL_PASSWORD: zp-dr-merettig
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- /opt/docker/zp-dr-merettig-wp/db:/var/lib/mysql