update all
This commit is contained in:
3
Mediawiki/LICENSE
Normal file
3
Mediawiki/LICENSE
Normal file
@ -0,0 +1,3 @@
|
||||
Additional permission under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or combining it with [name of library] (or a modified version of that library), containing parts covered by the terms of [name of library's license], the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of [name of library] used as well as that of the covered work.
|
3
Mediawiki/README.md
Normal file
3
Mediawiki/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Template
|
||||
|
||||
dépôt Template
|
56
Mediawiki/docker-compose.yml
Normal file
56
Mediawiki/docker-compose.yml
Normal file
@ -0,0 +1,56 @@
|
||||
---
|
||||
version: '3.9'
|
||||
|
||||
#### NETWORKS
|
||||
networks:
|
||||
docker-traefik_front_network:
|
||||
external: true
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
||||
mediawiki:
|
||||
container_name: mediawiki
|
||||
hostname: mediawiki
|
||||
image: mediawiki
|
||||
restart: always
|
||||
networks:
|
||||
- docker-traefik_front_network
|
||||
- back_network
|
||||
volumes:
|
||||
- /var/www/html/
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=docker-traefik_front_network"
|
||||
# HTTP
|
||||
- "traefik.http.routers.mediawiki-http.rule=Host(`mediawiki.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.mediawiki-http.entrypoints=http"
|
||||
# HTTPS
|
||||
- "traefik.http.routers.mediawiki-https.rule=Host(`mediawiki.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.mediawiki-https.entrypoints=https"
|
||||
- "traefik.http.routers.mediawiki-https.service=mediawiki-service"
|
||||
- "traefik.http.routers.mediawiki-https.tls=true"
|
||||
# Middleware
|
||||
# Service
|
||||
- "traefik.http.services.mediawiki-service.loadbalancer.server.port=80"
|
||||
|
||||
# After initial setup, download LocalSettings.php to the same directory as
|
||||
# this yaml and uncomment the following line and use compose to restart# the mediawiki service
|
||||
# - ./LocalSettings.php:/var/www/html/LocalSettings.php
|
||||
database:
|
||||
container_name: mediawiki-mysql
|
||||
hostname: mediawiki-mysql
|
||||
image: mysql:5.7
|
||||
restart: always
|
||||
networks:
|
||||
- back_network
|
||||
environment:
|
||||
MYSQL_DATABASE: mediawiki_db
|
||||
MYSQL_ROOT_PASSWORD: mediawiki_root
|
||||
MYSQL_USER: wikimedia
|
||||
MYSQL_PASSWORD: 'PasswordHere123456'
|
||||
volumes:
|
||||
- /var/lib/mysqlnetworks:
|
||||
|
Reference in New Issue
Block a user