create-directus-docker 1.6.9 → 1.7.1

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/README.md CHANGED
@@ -25,6 +25,14 @@ npm start
25
25
 
26
26
  The wizard will walk you through configuring your environment variables, and will launch all services for you.
27
27
 
28
+ ### Permissions
29
+
30
+ You may need to grant additional access to the 'directus' directory, so that Directus can create files there. Just run:
31
+
32
+ ```
33
+ sudo chmod -R 777 directus
34
+ ```
35
+
28
36
  ### Seeding MySQL data
29
37
 
30
38
  If you want to seed your database with data on first launch, place your .sql file(s) in the "init" directory at the root of this package. MySQL will run any files in this directory the first time it launches.
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.9",
4
+ "version": "1.7.1",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Dave Kobrenski",
@@ -37,6 +37,14 @@ As an alternative, you can install this package by following these steps. Once y
37
37
 
38
38
  *Note that you'll only have to do these two steps the first time you run this.*
39
39
 
40
+ ### Permissions
41
+
42
+ You may need to grant additional access to the 'directus' directory, so that Directus can create files there. Just run:
43
+
44
+ ```
45
+ sudo chmod -R 777 directus
46
+ ```
47
+
40
48
  ### Seeding MySQL data
41
49
 
42
50
  If you want to seed your database with data on first launch, place your .sql file(s) in the "init" directory at the root of this package. MySQL will run any files in this directory the first time it launches.
@@ -42,7 +42,7 @@ services:
42
42
 
43
43
  cache:
44
44
  container_name: cache
45
- image: redis:6.2.6
45
+ image: redis:6.2.19
46
46
  healthcheck:
47
47
  test: ["CMD-SHELL", "[ $$(redis-cli ping) = 'PONG' ]"]
48
48
  interval: 10s
@@ -55,7 +55,7 @@ services:
55
55
 
56
56
  directus:
57
57
  container_name: directus
58
- image: directus/directus:11.3.5
58
+ image: directus/directus:11.12.0
59
59
  restart: always
60
60
  ports:
61
61
  - ${DIRECTUS_PORT}:8055
@@ -186,8 +186,13 @@ try {
186
186
 
187
187
  writeStream.end();
188
188
 
189
+ // sudo chmod -R 777 directus
190
+
189
191
  console.log("\nYou can always edit the variables that we've just set in the .env file manually.\n\n");
190
192
  console.log(chalk.redBright("If you want to seed your database on first launch, place your .sql file(s) in the \"init\" directory BEFORE running services."));
193
+
194
+ console.log(chalk.redBright("\n\nNOTE: You may want to check the permissions of your 'directus' directory, which needs be read/write/execute for all users. Run this command to do so:\n"));
195
+ console.log("sudo chmod -R 777 directus");
191
196
  console.log("");
192
197
 
193
198
  inquirer.prompt([
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directus-mysql-docker",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "A helper app to configure Directus on Docker with MySQL, Adminer, and Apollo GraphQL Sandbox",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",