-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from soup-bowl/release
Release version 1.3.2
- Loading branch information
Showing
18 changed files
with
243 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.233.0/containers/ubuntu | ||
{ | ||
"name": "Ubuntu", | ||
"image" : "mcr.microsoft.com/vscode/devcontainers/base:0-jammy", | ||
"settings": {}, | ||
"extensions": [], | ||
"forwardPorts": [ 8080, 8081, 8082, 8083 ], | ||
"postCreateCommand": "./.devcontainer/postCreateCommand.sh", | ||
"postStartCommand": "./.devcontainer/postStartCommand.sh", | ||
"features": { | ||
"docker-in-docker": "latest" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
if [ ! -z ${GITPOD_HOST+x} ]; then | ||
WP_SITE_URL="https://8080-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}" | ||
elif [ ! -z ${CODESPACE_NAME+x} ]; then | ||
WP_SITE_URL="https://${CODESPACE_NAME}-8080.githubpreview.dev" | ||
else | ||
WP_SITE_URL="http://localhost:8080" | ||
fi | ||
|
||
docker run --rm --tty --volume $PWD:/app --user $(id -u):$(id -g) composer install --ignore-platform-reqs | ||
docker-compose up -d | ||
echo "Pausing for MySQL to complete..." && sleep 30 | ||
docker-compose exec www wp core install --url="${WP_SITE_URL}" --title="SMTP Dummy" --admin_user="admin" --admin_password="password" --admin_email="[email protected]" --allow-root | ||
docker-compose exec www wp plugin activate simple-smtp --allow-root | ||
cp .env.example .env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
docker-compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/.devcontainer | ||
/.docker | ||
/.git | ||
/.github | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,23 @@ tasks: | |
docker pull composer | ||
docker-compose pull | ||
docker-compose build www | ||
command: | | ||
docker run --rm --tty --volume $PWD:/app --user $(id -u):$(id -g) composer install --ignore-platform-reqs | ||
docker-compose up -d | ||
echo "Pausing for MySQL to complete..."&& sleep 15 | ||
docker-compose exec www wp core install --url="https://8080-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}" --title="SMTP Dummy" --admin_user="admin" --admin_password="password" --admin_email="[email protected]" --allow-root | ||
docker-compose exec www wp plugin activate simple-smtp --allow-root | ||
cp .env.example .env | ||
command: sh ./.devcontainer/postCreateCommand.sh | ||
vscode: | ||
extensions: | ||
- ms-azuretools.vscode-docker | ||
- johnbillion.vscode-wordpress-hooks | ||
|
||
ports: | ||
- port: 8080 | ||
name: WordPress | ||
description: Main WordPress instance. | ||
- port: 8081 | ||
name: MailHog | ||
description: Access GUI for the MailHog interface. | ||
- port: 8082 | ||
name: phpMyAdmin | ||
description: Access GUI for the MariaDB instance. | ||
- port: 8083 | ||
description: SMTP port for MailHog. | ||
- port: 4443 | ||
description: Unused in GitPod. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.