MediaWiki/mediawiki/docker-compose.dev.yml
Seaswimmer a8d67a6653
All checks were successful
Docker Build / Build and Push Images (push) Successful in 1m32s
add SyntaxHighlight_GeSHi extension and a development docker compose file
2024-08-07 13:50:23 -04:00

36 lines
745 B
YAML

networks:
zenithwiki:
driver: bridge
services:
mediawiki:
image: www.coastalcommits.com/zenith/mediawiki:latest
build: .
restart: always
ports:
- 8037:80
links:
- database
networks:
- zenithwiki
volumes:
- images:/var/www/html/images
- resources:/var/www/html/resources
- /var/lib/mediawiki/LocalSettings.php:/var/www/html/LocalSettings.php
database:
image: mariadb
restart: always
environment:
MYSQL_DATABASE: zenith
MYSQL_USER: zenithwikiuser
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
networks:
- zenithwiki
volumes:
- db:/var/lib/mysql
volumes:
images:
resources:
db: