Skip to content

Instantly share code, notes, and snippets.

@Luismcplopes
Last active September 24, 2018 16:50
Show Gist options
  • Save Luismcplopes/7d18659a6906633152d4e08ead9b7d6b to your computer and use it in GitHub Desktop.
Save Luismcplopes/7d18659a6906633152d4e08ead9b7d6b to your computer and use it in GitHub Desktop.
test with node red
version: '3'
services:
wordpress:
image: wordpress:lastest
ports:
- "8080:80"
environment:
WORDPRESS_DB_HOST: mysql:3306
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_DATABASE: wordpress
WORDPRESS_SITE_URL: "localhost:8080"
WORDPRESS_SITE_DESCRIPTION: "Wanna-be troutbum who dreams of big fish"
WORDPRESS_ADMIN_USER: admin
WORDPRESS_ADMIN_PASSWORD: adminadmin
WORDPRESS_ADMIN_EMAIL: [email protected]
volumes:
- ./theme:/var/www/html/wp-content/themes/my-theme
mysql:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
volumes:
db_data: