This commit is contained in:
sergeevevgen 2024-01-13 20:31:25 +04:00
parent 61c94a9155
commit 934dd837ac

View File

@ -0,0 +1,42 @@
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: