lasthourcloud/templates/compose/mediawiki.yaml

21 lines
626 B
YAML
Raw Normal View History

2024-05-16 09:11:12 +00:00
# documentation: https://www.mediawiki.org
# slogan: MediaWiki is a collaboration and documentation platform brought to you by a vibrant community.
# tags: wiki, collaboration, documentation
# logo: svgs/mediawiki.ico
2024-05-23 09:13:06 +00:00
# port: 80
2024-05-16 09:11:12 +00:00
services:
mediawiki:
2024-05-23 09:13:06 +00:00
image: mediawiki:latest
2024-05-16 09:11:12 +00:00
environment:
2024-05-23 09:13:06 +00:00
- SERVICE_FQDN_MEDIAWIKI_80
2024-05-16 09:11:12 +00:00
volumes:
- mediawiki-images:/var/www/html/images
2024-05-23 09:13:06 +00:00
- mediawiki-sqlite:/var/www/html/data
- ./LocalSettings.php:/var/www/html/LocalSettings.php
2024-05-16 09:11:12 +00:00
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 5s
timeout: 20s
2024-05-23 09:13:06 +00:00
retries: 10