42 lines
702 B
YAML
42 lines
702 B
YAML
version: '3'
|
|
|
|
services:
|
|
mediawiki:
|
|
image: mediawiki
|
|
ports:
|
|
- "8081:80"
|
|
links:
|
|
- database
|
|
volumes:
|
|
- mediawiki-data:/var/www/html
|
|
|
|
database:
|
|
image: mariadb
|
|
restart: always
|
|
environment:
|
|
MYSQL_DATABASE: my_wiki
|
|
MYSQL_USER: wikiuser
|
|
MYSQL_PASSWORD: example
|
|
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
|
|
drupal:
|
|
image: drupal:10-apache
|
|
ports:
|
|
- "8082:80"
|
|
volumes:
|
|
- drupal-data:/var/www/html
|
|
|
|
wordpress:
|
|
image: wordpress:latest
|
|
ports:
|
|
- "8083:80"
|
|
volumes:
|
|
- wordpress-data:/var/www/html
|
|
|
|
volumes:
|
|
mediawiki-data:
|
|
drupal-data:
|
|
wordpress-data:
|
|
db: |