mirror of
https://github.com/garethflowers/docker-mediawiki-ldap.git
synced 2025-04-17 07:55:14 +00:00
chore(docker): improve docker compose dx
This commit is contained in:
parent
417e23a08e
commit
ab013487a5
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm/v7,linux/ppc64le # linux/386,linux/arm/v6,linux/arm64,linux/s390x
|
platforms: linux/amd64,linux/arm/v7,linux/ppc64le
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.prep.outputs.tags }}
|
tags: ${{ steps.prep.outputs.tags }}
|
||||||
labels: ${{ steps.prep.outputs.labels }}
|
labels: ${{ steps.prep.outputs.labels }}
|
||||||
|
13
README.md
13
README.md
@ -7,6 +7,9 @@ A MediaWiki installation with LDAP extensions.
|
|||||||
### Start a MediaWiki Server instance
|
### Start a MediaWiki Server instance
|
||||||
|
|
||||||
To start a container use the following:
|
To start a container use the following:
|
||||||
|
|
||||||
|
#### ...via `docker run`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run \
|
docker run \
|
||||||
--name my-mediawiki-ldap \
|
--name my-mediawiki-ldap \
|
||||||
@ -15,6 +18,16 @@ docker run \
|
|||||||
garethflowers/mediawiki-ldap
|
garethflowers/mediawiki-ldap
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### ...via `docker compose`
|
||||||
|
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
my-mediawiki-ldap:
|
||||||
|
image: garethflowers/mediawiki-ldap
|
||||||
|
ports:
|
||||||
|
- 80:80/tcp
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
* MediaWiki is released under the [GNU GPLv2 License](https://phabricator.wikimedia.org/source/mediawiki/browse/master/COPYING).
|
* MediaWiki is released under the [GNU GPLv2 License](https://phabricator.wikimedia.org/source/mediawiki/browse/master/COPYING).
|
||||||
|
@ -3,6 +3,3 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
command: php -v
|
command: php -v
|
||||||
image: garethflowers/mediawiki-ldap
|
image: garethflowers/mediawiki-ldap
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
driver: bridge
|
|
@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -ex
|
|
||||||
export IMAGE_NAME=garethflowers/mediawiki-ldap
|
|
||||||
|
|
||||||
docker build --progress plain --tag $IMAGE_NAME .
|
|
||||||
docker run --rm $IMAGE_NAME php -v
|
|
||||||
|
|
||||||
echo "\nOK"
|
|
Loading…
x
Reference in New Issue
Block a user