Compare commits
No commits in common. "e98462b4aa0d7d80fd9191328e90b0429610b1bb" and "b627d4037168233b748369aeefcb5c6abae56c13" have entirely different histories.
e98462b4aa
...
b627d40371
4 changed files with 3 additions and 37 deletions
|
@ -77,7 +77,7 @@ RUN set -eu; \
|
|||
&& curl https://extdist.wmflabs.org/dist/extensions/Auth_remoteuser-REL1_37-2852bad.tar.gz |tar -xz
|
||||
|
||||
# Install composer packages
|
||||
COPY --from=library/composer:2.1 /usr/bin/composer /usr/bin/composer
|
||||
COPY --from=composer:2.3 /usr/bin/composer /usr/bin/composer
|
||||
RUN set -eu; \
|
||||
ln -s /var/www/conf/LocalSettings.local.php /var/www/html/LocalSettings.local.php; \
|
||||
ln -s /var/www/conf/LocalSettings.php /var/www/html/LocalSettings.php
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
build:
|
||||
docker build -t zombi/mediawiki:1.37.2 .
|
||||
docker build -t tmp .
|
||||
|
||||
run:
|
||||
docker-compose up
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
version: "3.8"
|
||||
|
||||
volumes:
|
||||
database:
|
||||
wikistore:
|
||||
|
||||
networks:
|
||||
internal:
|
||||
|
||||
services:
|
||||
mediawiki:
|
||||
image: zombi/mediawiki:1.37.2
|
||||
environment:
|
||||
WG_DB_TYPE: postgres
|
||||
WG_DB_SERVER: db
|
||||
WG_DB_PORT: 5432
|
||||
WG_DB_NAME: mediawiki
|
||||
WG_DB_USER: mediawiki
|
||||
WG_DB_PASSWORD: mediawiki
|
||||
WG_SERVER: "http://localhost:8080"
|
||||
SEMANTIC_URL: "wiki.example.com"
|
||||
MEDIAWIKI_ADMIN_PASS: "poGh3ohphu2oNgeishiu"
|
||||
volumes:
|
||||
- wikistore:/var/www/localstores
|
||||
ports:
|
||||
- 8080:80
|
||||
db:
|
||||
image: library/postgres:14
|
||||
environment:
|
||||
POSTGRES_DB: mediawiki
|
||||
POSTGRES_USER: mediawiki
|
||||
POSTGRES_PASSWORD: mediawiki
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
Loading…
Reference in a new issue