mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 23:50:43 +01:00
2654756a03
This adds a devcontainer configuration tested for use with GitHub Codespaces. It is currently built on top of the Docker `wordpress` image for initial trial purposes. We should eventually be using our own containers to fully own the environment. This should be considered a beta run to get a sense of how well cloud dev containers work for core contributors, in particular at contributor day events with limited bandwidth and mobile devices. Props samruddhikhandale, dinhtungdu, helen, craiglpeters, sam1el, wirecat. See #57187. git-svn-id: https://develop.svn.wordpress.org/trunk@55303 602fd350-edb4-49c9-b593-d223f7449a82
31 lines
572 B
YAML
31 lines
572 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
wordpress:
|
|
image: wordpress
|
|
restart: always
|
|
ports:
|
|
- 8080:80
|
|
environment:
|
|
WORDPRESS_DB_HOST: db
|
|
WORDPRESS_DB_USER: exampleuser
|
|
WORDPRESS_DB_PASSWORD: examplepass
|
|
WORDPRESS_DB_NAME: exampledb
|
|
volumes:
|
|
- ../src:/var/www/html
|
|
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
environment:
|
|
MYSQL_DATABASE: exampledb
|
|
MYSQL_USER: exampleuser
|
|
MYSQL_PASSWORD: examplepass
|
|
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
|
|
volumes:
|
|
wordpress:
|
|
db:
|