dockerfiles for mediawiki deploy over at noirscape.dev
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

24 lines
544 B

version: '3.2'
services:
web:
image: noirscape/mediawiki
build: core
ports:
- $PORT:80
volumes:
- ./LocalSettings.php:/var/www/html/LocalSettings.php
- ./images:/var/www/html/images
restart: always
depends_on:
- db
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_DATABASE:
MYSQL_USER:
MYSQL_PASSWORD:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes:
- ./database:/var/lib/mysql