-
-
Save g3rhard/514f2995228813606360d74565397c1b 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
# Mediawiki, Bugzilla and mediawiki-bugzilla extension | |
# test setup | |
version: '2' | |
services: | |
mysql: | |
container_name: mw-bz-mysql | |
image: mysql | |
volumes: | |
- "./data/mysql:/var/lib/mysql" | |
restart: always | |
ports: ['3306:3306'] | |
environment: | |
MYSQL_ROOT_PASSWORD: mediawiki | |
MYSQL_DATABASE: mediawiki | |
MYSQL_USER: mediawiki | |
MYSQL_PASSWORD: mediawiki | |
memcache: | |
container_name: mw-bz-memcache | |
image: "memcached:alpine" | |
restart: always | |
ports: ['11211:11211'] | |
bugzilla: | |
container_name: mw-bz-bugzilla | |
image: 'bugzilla:rda-1' | |
links: | |
- mysql | |
ports: ['8080:80', '2222:22'] | |
restart: always | |
mediawiki: | |
container_name: mw-bz-mediawiki | |
depends_on: | |
- mysql | |
- bugzilla | |
- memcache | |
build: ./mediawiki-docker | |
links: | |
- mysql | |
- bugzilla | |
ports: | |
- '8001:80' | |
restart: always | |
environment: | |
- MEDIAWIKI_DB_TYPE=mysql | |
- MEDIAWIKI_DB_HOST=mysql | |
- MEDIAWIKI_DB_PORT=3306 | |
- MEDIAWIKI_DB_USER=mediawiki | |
- MEDIAWIKI_DB_PASSWORD=mediawiki | |
- MEDIAWIKI_SITE_SERVER=//localhost:8001 | |
- MEDIAWIKI_SLEEP=30 | |
- MEDIAWIKI_UPDATE=true | |
- MEDIAWIKI_SHARED=./data/mediawiki | |
volumes: | |
- './data/html:/var/www/html' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment