Skip to content

Instantly share code, notes, and snippets.

@rossjimenez
Created May 21, 2015 20:16
Show Gist options
  • Save rossjimenez/55cbfe2f089f7d6ba2e0 to your computer and use it in GitHub Desktop.
Save rossjimenez/55cbfe2f089f7d6ba2e0 to your computer and use it in GitHub Desktop.
INSTRUCTIONS:
Mediawiki: "An example demonstrating a 2 service app with a Volume mount. Complete the MediaWiki setup, make sure to utilize in the MySQL Settings section: Database host: mysql (this is the link alias) Database password for root: MediaWiki.123 When complete you will need to take the LocalSettings.php and put it in your host volume."
MySQL: "MySQL image, root password set via Env Variable "
Mediawiki:
image: "nickstenning/mediawiki:latest"
links:
- "MySQL:mysql"
ports:
- "8088:80"
volumes:
- "/var/mediawiki:/data"
MySQL:
image: "centurylink/mysql:5.5"
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_ROOT_PASSWORD=MediaWiki.123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment