create-directus-docker 1.5.4 → 1.5.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 + GraphiQL with a helper Node app",
4
- "version": "1.5.4",
4
+ "version": "1.5.6",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Dave Kobrenski",
@@ -71,7 +71,10 @@ services:
71
71
 
72
72
  CACHE_ENABLED: 'true'
73
73
  CACHE_STORE: 'redis'
74
- CACHE_REDIS: 'redis://cache:6379'
74
+ REDIS: 'redis://cache:6379'
75
+ CACHE_AUTO_PURGE: 'true'
76
+ CACHE_SYSTEM_TTL: '2m'
77
+ CACHE_SCHEMA: 'false'
75
78
  ADMIN_EMAIL: ${ADMIN_EMAIL}
76
79
  ADMIN_PASSWORD: ${ADMIN_PASSWORD}
77
80
  CORS_ENABLED: 'true'
@@ -105,6 +105,13 @@ export default function launchServices() {
105
105
  }
106
106
  ]).then(answers => {
107
107
  if (answers.open_now === true) {
108
+
109
+ if (process.env.DIRECTUS_DOMAIN === 'localhost') {
110
+ var appURL = 'http://localhost';
111
+ } else {
112
+ var appURL = process.env.DIRECTUS_DOMAIN;
113
+ }
114
+
108
115
  open(process.env.PUBLIC_URL);
109
116
  open(`${appURL}:8080`);
110
117
  open(`${appURL}:4000/graphql`);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directus-mysql-docker",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A helper app to configure Directus on Docker with MySQL, Adminer, and GraphQL",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",