create-directus-docker 1.6.4 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-directus-docker",
3
3
  "description": "An installer for Dockerized Directus + MySQL + Adminer + GraphQL Sandbox with a helper Node app",
4
- "version": "1.6.4",
4
+ "version": "1.6.6",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Dave Kobrenski",
@@ -10,6 +10,7 @@ services:
10
10
  - "443:443"
11
11
  volumes:
12
12
  - /var/run/docker.sock:/tmp/docker.sock:ro
13
+ - ./custom_proxy_settings.conf:/etc/nginx/conf.d/custom_proxy_settings.conf
13
14
  - conf:/etc/nginx/conf.d
14
15
  - vhost:/etc/nginx/vhost.d
15
16
  - html:/usr/share/nginx/html
@@ -132,6 +133,8 @@ services:
132
133
  ADMIN_PASSWORD: ${ADMIN_PASSWORD}
133
134
  CORS_ENABLED: 'true'
134
135
  CORS_ORIGIN: 'true'
136
+ FILES_MAX_UPLOAD_SIZE: '10mb'
137
+ MAX_PAYLOAD_SIZE: '10mb'
135
138
 
136
139
  # uncomment the following lines to enable email verification
137
140
  EMAIL_VERIFY_SETUP: 'true'
@@ -89,6 +89,8 @@ services:
89
89
  ADMIN_PASSWORD: ${ADMIN_PASSWORD}
90
90
  CORS_ENABLED: 'true'
91
91
  CORS_ORIGIN: 'true'
92
+ FILES_MAX_UPLOAD_SIZE: '10mb'
93
+ MAX_PAYLOAD_SIZE: '10mb'
92
94
 
93
95
  # uncomment the following lines to enable email verification
94
96
  # EMAIL_VERIFY_SETUP: 'true'
@@ -18,7 +18,7 @@ MYSQL_ROOT_PASS="s0mEpa55w0rd"
18
18
  # eg, https://mydomain.com
19
19
  # in local dev environments, just leave it set to localhost:port
20
20
  DIRECTUS_DOMAIN="localhost"
21
- DIRECTUS_PORT="8055"
21
+ DIRECTUS_PORT=8055
22
22
  PUBLIC_URL="https://your-domain.com"
23
23
  API_ENDPOINT="https://your-domain.com/graphql"
24
24
 
@@ -159,7 +159,7 @@ try {
159
159
  writeStream.write("# eg, https://mydomain.com\n");
160
160
  writeStream.write("# in local dev environments, just leave it set to localhost:port\n");
161
161
  writeStream.write(`DIRECTUS_DOMAIN="${answers.DIRECTUS_DOMAIN}"\n`);
162
- writeStream.write(`DIRECTUS_PORT="${answers.DIRECTUS_PORT}"\n`);
162
+ writeStream.write(`DIRECTUS_PORT=${answers.DIRECTUS_PORT}\n`);
163
163
 
164
164
  if(answers.DIRECTUS_DOMAIN == "localhost") {
165
165
  if(answers.DIRECTUS_PORT == 80) {