Last active
September 24, 2018 16:50
-
-
Save Luismcplopes/7d18659a6906633152d4e08ead9b7d6b to your computer and use it in GitHub Desktop.
test with node red
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://play-with-docker.com/?stack=https://gist.githubusercontent.com/Luismcplopes/7d18659a6906633152d4e08ead9b7d6b/raw/1d284b6df114398eb855f859e6870299599d3027/docker-compose.yml
https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png