-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdevcontainer.json
More file actions
73 lines (73 loc) · 2.82 KB
/
devcontainer.json
File metadata and controls
73 lines (73 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "WordPress Codespace",
"image": "ghcr.io/automattic/vip-codespaces/alpine-base:latest",
"overrideCommand": false,
"forwardPorts": [80, 81, 8025],
"portsAttributes": {
"80": {
"label": "Application",
"onAutoForward": "notify",
"elevateIfNeeded": true
},
"81": {
"label": "phpMyAdmin",
"onAutoForward": "notify",
"elevateIfNeeded": true
},
"3306": {
"label": "MySQL",
"onAutoForward": "ignore"
},
"9000": {
"label": "php-fpm",
"onAutoForward": "ignore"
},
"9003": {
"label": "Xdebug Client Port",
"onAutoForward": "notify"
}
},
"features": {
"ghcr.io/automattic/vip-codespaces/base:latest": {},
"ghcr.io/automattic/vip-codespaces/nginx:latest": {},
"ghcr.io/automattic/vip-codespaces/php:latest": {
"version": "8.2",
"composer": true
},
"ghcr.io/automattic/vip-codespaces/mariadb:latest": {
// Set to false to prevent the database content from persisting between rebuilds.
"installDatabaseToWorkspaces": true
},
"ghcr.io/automattic/vip-codespaces/wordpress:latest": {
// WordPress version: Accepts 'latest', 'nightly', or a version number.
"version": "latest",
// Set to false to prevent wp-content/uploads content from persisting between rebuilds.
"moveUploadsToWorkspaces": false,
// Set to true to create the environment as a WordPress multisite.
"multisite": false,
// GitHub Codespaces only supports the subdirectory network type for multisite; subdomain cannot be used.
"multisiteStyle": "subdirectory"
},
"ghcr.io/automattic/vip-codespaces/wp-cli:latest": {
// Set to true to enable nightly builds of WP-CLI.
"nightly": false
},
"ghcr.io/automattic/vip-codespaces/dev-tools:latest": {},
"ghcr.io/automattic/vip-codespaces/phpmyadmin:latest": {
// Set to false to disable phpMyAdmin.
"enabled": true
},
"ghcr.io/automattic/vip-codespaces/xdebug:latest": {
// Set to true to enable Xdebug.
// This setting can also be updated with CLI commands in the terminal.
"enabled": true,
// Set Xdebug mode. Accepted value options are listed here: https://xdebug.org/docs/all_settings#mode
"mode": "debug"
},
"ghcr.io/automattic/vip-codespaces/ssh:latest": {
// Set to true to enable an SSH server for the Codespaces environment.
"enabled": true
}
},
"postCreateCommand": "bash ./.devcontainer/post-create.sh"
}