Mediawiki Docker Compose

Jmnote (토론 | 기여)님의 2021년 6월 7일 (월) 22:04 판 (새 문서: ==개요== <syntaxhighlight lang='yaml'> ## https://hub.docker.com/_/mediawiki # MediaWiki with MariaDB # # Access via "http://localhost:8080" # (or "http://$(docker-machine ip):80...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

## https://hub.docker.com/_/mediawiki
# MediaWiki with MariaDB
#
# Access via "http://localhost:8080"
#   (or "http://$(docker-machine ip):8080" if using docker-machine)
version: '3'
services:
  mediawiki:
    image: mediawiki
    restart: always
    ports:
      - 8080:80
    links:
      - database
    volumes:
      - /var/www/html/images
      # 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:
    image: mariadb
    restart: always
    environment:
      # @see https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/DefaultSettings.php
      MYSQL_DATABASE: my_wiki
      MYSQL_USER: wikiuser
      MYSQL_PASSWORD: example
      MYSQL_RANDOM_ROOT_PASSWORD: 'yes'


2 같이 보기

  • [[ ]]
  • [[ ]]
  • [[ ]]
  • [[ ]]
  • [[ ]]
  • [[ ]]

3 참고

[[분류: ]] [[분류: ]]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}