mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 04:48:25 +01:00
5a87725ed9
This now runs in local Docker as well. Sets the executable propset to explicitly identify `install-tool.sh` and `setup.sh` as executable. Unclear if this will sync via the Git mirror; ideally it would as otherwise the two files show as modified in a Git clone even in a fresh container. Props samruddhikhandale. See #57187. git-svn-id: https://develop.svn.wordpress.org/trunk@55353 602fd350-edb4-49c9-b593-d223f7449a82
30 lines
565 B
YAML
30 lines
565 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
app:
|
|
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:
|
|
- ../..:/workspaces:cached
|
|
|
|
db:
|
|
image: mariadb
|
|
restart: unless-stopped
|
|
environment:
|
|
MYSQL_DATABASE: exampledb
|
|
MYSQL_USER: exampleuser
|
|
MYSQL_PASSWORD: examplepass
|
|
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
|
|
volumes:
|
|
db:
|