MediaWiki in Docker-Container: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „{{note|Noch in Bearbeitung}} == docker-compose.yaml == <pre> vi docker-compose.yaml <pre> <pre> version: "3.7" services: mediawiki: image: mediawiki:1.38.2 restart: always links: - maria_db volumes: - ./images:/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…“) |
|||
Zeile 6: | Zeile 6: | ||
<pre> | <pre> | ||
vi docker-compose.yaml | vi docker-compose.yaml | ||
<pre> | </pre> | ||
<pre> | <pre> | ||
Zeile 61: | Zeile 61: | ||
networks: | networks: | ||
mediawiki_net: | mediawiki_net: | ||
<pre> | </pre> | ||
Version vom 15. August 2022, 17:35 Uhr
Noch in Bearbeitung
docker-compose.yaml
vi docker-compose.yaml
version: "3.7" services: mediawiki: image: mediawiki:1.38.2 restart: always links: - maria_db volumes: - ./images:/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 ports: - 8080:80 networks: - mediawiki_net maria_db: image: mariadb:10.8.3 restart: always environment: MYSQL_ROOT_PASSWORD: 1234 MYSQL_DATABASE: mediawiki MYSQL_USER: wikiuser MYSQL_PASSWORD: wikiuser volumes: - ./initdb:/docker-entrypoint-initdb.d - ./database:/var/lib/mysql networks: - mediawiki_net adminer: image: adminer restart: always links: - maria_db environment: ADMINER_DEFAULT_SERVER: maria_db ports: - 9080:8080 networks: - mediawiki_net #volumes: # initdb: # images: # database: networks: mediawiki_net: