You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,39 +64,41 @@ docker-compose stop
64
64
65
65
Build options are specified by passing --build-arg FOO=BAR for each argument you want to pass. Available build arguments are:
66
66
67
-
`HOST_UID`=num\ (required)
67
+
-`HOST_UID`=num (required)
68
68
69
-
The HOST_UID is used to ensure that the host user and the docker www-data user have the same User ID and keep permissions the same. You'd usually want to use the same user ID as the current logged in user in the host in which case you can just do set the value to `$(id -u)` which should work in most \*NIX systems.
69
+
The HOST_UID is used to ensure that the host user and the docker www-data user have the same User ID and keep permissions the same. You'd usually want to use the same user ID as the current logged in user in the host in which case you can just do set the value to `$(id -u)` which should work in most \*NIX systems.
70
70
71
-
Example 1: to set the current user's UID `--build-arg HOST_UID=$(id -u)`\
72
-
Example 2: to set a specific UID `--build-arg HOST_UID=1001`
71
+
Example 1: to set the current user's UID `--build-arg HOST_UID=$(id -u)`\
72
+
Example 2: to set a specific UID `--build-arg HOST_UID=1001`
73
73
74
74
-`APP_HOSTNAME`=**myapp** | _string_ (optional)
75
75
76
-
The host name that you want to use for for your application. This makes your web server accessible via **appname.local** on your host machine. Default value is **myapp** which makes the web server accessible via **myapp.local**
76
+
The host name that you want to use for for your application. This makes your web server accessible via **appname.local** on your host machine. Default value is **myapp** which makes the web server accessible via **myapp.local**
77
77
78
78
-`WEB`=**httpd** | nginx (optional)
79
79
80
-
The web server that you want to use. Available values are httpd (apache) or nginx. Default is httpd.
80
+
The web server that you want to use. Available values are httpd (apache) or nginx. Default is httpd.
81
81
82
82
-`DB`=**mariadb** | mysql (optional)
83
83
84
-
The DBMS that you want to use. Default is **mariadb** but you can also choose mysql.
84
+
The DBMS that you want to use. Default is **mariadb** but you can also choose mysql.
85
85
86
-
Warning: Switching DBMS on an existing container is most likely to cause errors due to incompatibility in data formats. It's best to dump the database first, clear the contents of `app/db`, switch DBMS and reimport the sql dump.
86
+
Warning: Switching DBMS on an existing container is most likely to cause errors due to incompatibility in data formats. It's best to dump the database first, clear the contents of `app/db`, switch DBMS and reimport the sql dump.
87
87
88
88
-`DB_VERSION`=**latest** | _num_ (optional)
89
89
90
-
The DBMS version that you want to use. Default version is **latest**. For a list of available versions, see https://hub.docker.com/_/mariadb and https://hub.docker.com/_/mysql.
90
+
The DBMS version that you want to use. Default version is **latest**. For a list of available versions, see https://hub.docker.com/_/mariadb and https://hub.docker.com/_/mysql.
91
91
92
-
Warning: Switching DBMS on an existing container is most likely to cause errors due to incompatibility in data formats. It's best to dump the database first, clear the contents of `app/db`, switch DBMS and reimport the sql dump.
92
+
Warning: Switching DBMS on an existing container is most likely to cause errors due to incompatibility in data formats. It's best to dump the database first, clear the contents of `app/db`, switch DBMS and reimport the sql dump.
The PHP version that you want to use. Currently supports 5.6, 7.0, 7.1, 7.2, 7.3 and 7.4. Setting the version to just *7* will setup the latest PHP 7 available (ie 7.4)
96
+
The PHP version that you want to use. Currently supports 5.6, 7.0, 7.1, 7.2, 7.3 and 7.4. Setting the version to just *7* will setup the latest PHP 7 available (ie 7.4)
97
97
98
98
99
-
Build Example: To build PHP 5.6, Nginx (latest) and MySQL 5.6, the build command would be:
99
+
## Build Example
100
+
101
+
To build PHP 5.6, Nginx (latest) and MySQL 5.6, the build command would be:
0 commit comments