Created
May 19, 2015 04:14
-
-
Save jonpugh/d7ee7d5901df5d602535 to your computer and use it in GitHub Desktop.
Exported docker-compose.yml from Rancher for a working wordpress cluster.
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
app: | |
environment: | |
WORDPRESS_DB_PASSWORD: password | |
external_links: | |
1979c1fa-26cd-45a0-91cc-c73812fc94b5: mysql | |
tty: true | |
image: wordpress | |
links: | |
- database | |
stdin_open: true | |
Balance: | |
ports: | |
- 80:80 | |
tty: true | |
links: | |
- app | |
stdin_open: true | |
database: | |
restart: on-failure:5 | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: drupal | |
MYSQL_USER: drupal | |
MYSQL_PASSWORD: drupal | |
tty: true | |
image: mysql | |
stdin_open: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment