Last active
June 7, 2017 15:50
-
-
Save tbernacchi/e1fa46c9e9ca766e761acfde7bce97e8 to your computer and use it in GitHub Desktop.
This file contains 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: '2' | |
services: | |
db: | |
image: mysql | |
restart: always | |
expose: | |
- 3306 | |
environment: | |
MYSQL_ROOT_PASSWORD: teste123 | |
MYSQL_USER: wordpress | |
MYSQL_PASSWORD: wordpress | |
MYSQL_DATABASE: wordpress | |
wordpress: | |
image: wordpress | |
restart: always | |
ports: | |
- 8080:80 | |
environment: | |
WORDPRESS_DB_HOST: mysql | |
WORDPRESS_DB_USER: wordpress | |
WORDPRESS_DB_PASSWORD: wordpress | |
links: | |
- db:mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment