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
|
@@ -71,7 +71,10 @@ services:
|
|
|
71
71
|
|
|
72
72
|
CACHE_ENABLED: 'true'
|
|
73
73
|
CACHE_STORE: 'redis'
|
|
74
|
-
|
|
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`);
|