Commit graph

13 commits

Author SHA1 Message Date
Kosta Harlan
884443740b [docker] Fix install instructions for Windows
Also move Linux host specific bits to the Linux users section.

Bug: T246953
Change-Id: I7f4b4b0cbba7b07377d0b8fe050061bf457a5326
2020-04-06 21:55:50 +02:00
Kosta Harlan
0853b9f85c [docker] Use install.sh, add instructions for same
Updates docker-compose.yml to run stretch-php72-fpm-apache2-xdebug:0.3.0, which
will contain a /docker/install.sh.  Usage is described in DEVELOPERS.md.

Depends-On: Icf7dd0e22e0421cf97de1d7c1d4a44ca14f2190a
Bug: T246953
Change-Id: Ib7e6e9b872c284583db3a5e83b310183343b4341
2020-04-04 21:26:39 +00:00
jenkins-bot
28f959c5ca Merge "[docker] Use a .env file for setting the port and user" 2020-04-01 16:16:30 +00:00
Kosta Harlan
c27eda79a0 [docker] Use a .env file for setting the port and user
- allows for cleanly overriding host exposed port
- easier to override XDebug settings
- easier setup for Linux hosts

When wikimedia/fresh is updated with https://github.com/wikimedia/fresh/pull/18,
we can simplify the Selenium / API testing instructions too (removing the
`export` statements).

Bug: T246586
Bug: T246588
Change-Id: Ibd266411636ac144789617bb0999c33a83e9e652
2020-04-01 17:29:14 +02:00
Kosta Harlan
1ffbcfa1ed [docker] Add note for Linux users to manage Docker as non-root
This has come up a few times already with users (T248624#6008494,
T246827#5944100) so it would be useful to document the solution here.

Change-Id: I7c2fa16fd3f129e03c053935f32ebda3b589b9fe
2020-03-29 17:40:29 +02:00
Kosta Harlan
80d0db741c [docker] Add recommendation to install docker-compose binary
Bug: T246021
Change-Id: I594adc9946ef2c0ba4de0636acb065cd72b5d073
2020-03-16 14:07:33 +01:00
montehurd
d5dbc5873d MediaWiki-Docker: fix Fresh-Node links
Removed an extra character preventing the "Fresh" links from being resolved
on Github mirrors

Bug: T246957
Change-Id: I029d819052c0977dfc45f4566f0179f8969e5649
2020-03-04 15:53:18 -08:00
Kosta Harlan
997dbb9b5d [docker] Move documentation for Vector out of XDebug section
Change-Id: I0bd839e03e5bc1c8f548610bafb1ed2805cd5b04
Follows-Up: I8f25d21e6f07bb82bb2c93163dda85e26e383d8d
Bug: T246360
2020-03-04 22:21:04 +01:00
Kosta Harlan
68353d93a7 DEVELOPERS.md: Remove reference to Docker/Recipes
Consolidate on a single entrypoint to additional documentation on mediawiki.org

Bug: T246433
Change-Id: I8dc003fae2a52eb198eb43b82bc80100f13cf990
2020-02-29 22:59:38 +01:00
Željko Filipin
eadff5da66 MediaWiki-Docker: document how to use Vector skin
Bug: T246360
Change-Id: I8f25d21e6f07bb82bb2c93163dda85e26e383d8d
2020-02-27 17:58:24 +01:00
Kosta Harlan
4d94b96e63 [docker] Adjust UID/GID variable names
As noted in the task, UID is a read-only variable by default in Bash. Rather
than rely on it existing let's explicitly define MW_DOCKER_(UID/GID) for use
with docker-compose.override.yml.

Bug: T246020
Change-Id: I768486858bc63393f35c3b89fb783c3845183da5
2020-02-25 13:01:40 +01:00
Michael Große
02a38754f9 Fix broken link syntax in DEVELOPERS.md
This trailing ")" broke this and the following link.

Change-Id: Ifb0fb3e89a14333f23de87b20db0f4eaa1ec86cd
2020-02-24 18:11:59 +01:00
Kosta Harlan
89083ea868 Add configuration for Docker based development environment
This patch introduces a simple docker-compose based development environment
with the idea to allow most development use cases for beginning and
experienced MediaWiki developers.

- PHP and Apache container with XDebug enabled
- Support for overriding services with docker-compose override file
- Documentation for usage and a documented place for sharing docker-compose
  overrides and LocalSettings.php configuration snippets for e.g. MySQL,
	DB replication, Redis, etc

Depends-On: I50079cca6a286d8aaea8fd0785be48c80e80271c
Bug: T238224
Change-Id: I3b76c1599b1ff32174af5603aadc9f7c7634c98b
2020-02-21 10:09:48 +00:00