2024-11-11 07:47:55 +04:00
|
|
|
version: '3.8'
|
2024-11-10 18:23:44 +04:00
|
|
|
|
|
|
|
services:
|
2024-11-11 07:47:55 +04:00
|
|
|
mediawiki:
|
|
|
|
image: mediawiki:latest
|
|
|
|
container_name: mediawiki
|
|
|
|
environment:
|
|
|
|
MEDIAWIKI_DB_HOST: db-mediawiki
|
|
|
|
MEDIAWIKI_DB_NAME: mediawiki
|
|
|
|
MEDIAWIKI_DB_USER: wikiuser
|
|
|
|
MEDIAWIKI_DB_PASSWORD: password
|
|
|
|
ports:
|
|
|
|
- "8081:80"
|
|
|
|
depends_on:
|
|
|
|
- db-mediawiki
|
|
|
|
volumes:
|
|
|
|
- mediawiki_data:/var/www/html/images
|
|
|
|
|
|
|
|
db-mediawiki:
|
|
|
|
image: mysql:5.7
|
|
|
|
container_name: db-mediawiki
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: rootpassword
|
|
|
|
MYSQL_DATABASE: mediawiki
|
|
|
|
MYSQL_USER: wikiuser
|
|
|
|
MYSQL_PASSWORD: password
|
|
|
|
volumes:
|
|
|
|
- db_mediawiki_data:/var/lib/mysql
|
|
|
|
|
2024-11-10 18:23:44 +04:00
|
|
|
wordpress:
|
|
|
|
image: wordpress:latest
|
|
|
|
container_name: wordpress
|
|
|
|
environment:
|
2024-11-11 07:47:55 +04:00
|
|
|
WORDPRESS_DB_HOST: db-wordpress
|
|
|
|
WORDPRESS_DB_USER: wpuser
|
|
|
|
WORDPRESS_DB_PASSWORD: password
|
|
|
|
WORDPRESS_DB_NAME: wordpress
|
|
|
|
ports:
|
|
|
|
- "8082:80"
|
|
|
|
depends_on:
|
|
|
|
- db-wordpress
|
2024-11-10 18:23:44 +04:00
|
|
|
volumes:
|
|
|
|
- wordpress_data:/var/www/html
|
|
|
|
|
2024-11-11 07:47:55 +04:00
|
|
|
db-wordpress:
|
2024-11-10 18:23:44 +04:00
|
|
|
image: mysql:5.7
|
2024-11-11 07:47:55 +04:00
|
|
|
container_name: db-wordpress
|
2024-11-10 18:23:44 +04:00
|
|
|
environment:
|
2024-11-11 07:47:55 +04:00
|
|
|
MYSQL_ROOT_PASSWORD: rootpassword
|
|
|
|
MYSQL_DATABASE: wordpress
|
|
|
|
MYSQL_USER: wpuser
|
|
|
|
MYSQL_PASSWORD: password
|
2024-11-10 18:23:44 +04:00
|
|
|
volumes:
|
2024-11-11 07:47:55 +04:00
|
|
|
- db_wordpress_data:/var/lib/mysql
|
2024-11-10 18:23:44 +04:00
|
|
|
|
|
|
|
redmine:
|
|
|
|
image: redmine:latest
|
|
|
|
container_name: redmine
|
|
|
|
environment:
|
2024-11-11 07:47:55 +04:00
|
|
|
REDMINE_DB_MYSQL: db-redmine
|
|
|
|
REDMINE_DB_USERNAME: redmine
|
|
|
|
REDMINE_DB_PASSWORD: password
|
|
|
|
REDMINE_DB_DATABASE: redmine
|
|
|
|
ports:
|
|
|
|
- "8083:3000"
|
2024-11-10 18:23:44 +04:00
|
|
|
depends_on:
|
2024-11-11 07:47:55 +04:00
|
|
|
- db-redmine
|
|
|
|
volumes:
|
|
|
|
- redmine_data:/usr/src/redmine/files
|
2024-11-10 18:23:44 +04:00
|
|
|
|
2024-11-11 07:47:55 +04:00
|
|
|
db-redmine:
|
2024-11-10 18:23:44 +04:00
|
|
|
image: mysql:5.7
|
2024-11-11 07:47:55 +04:00
|
|
|
container_name: db-redmine
|
2024-11-10 18:23:44 +04:00
|
|
|
environment:
|
2024-11-11 07:47:55 +04:00
|
|
|
MYSQL_ROOT_PASSWORD: rootpassword
|
2024-11-10 18:23:44 +04:00
|
|
|
MYSQL_DATABASE: redmine
|
2024-11-11 07:47:55 +04:00
|
|
|
MYSQL_USER: redmine
|
|
|
|
MYSQL_PASSWORD: password
|
2024-11-10 18:23:44 +04:00
|
|
|
volumes:
|
2024-11-11 07:47:55 +04:00
|
|
|
- db_redmine_data:/var/lib/mysql
|
2024-11-10 18:23:44 +04:00
|
|
|
|
|
|
|
volumes:
|
2024-11-11 07:47:55 +04:00
|
|
|
mediawiki_data:
|
|
|
|
db_mediawiki_data:
|
2024-11-10 18:23:44 +04:00
|
|
|
wordpress_data:
|
2024-11-11 07:47:55 +04:00
|
|
|
db_wordpress_data:
|
|
|
|
redmine_data:
|
|
|
|
db_redmine_data:
|