This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This was pieced together from multiple sources on the web, | |
* but none of them had solved directory structure for standalone mode at the time. | |
* | |
* The final structure used here allows the following location block in nginx: | |
* | |
* proxy_pass http://localhost:3000/ | |
*/ | |
# Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
elasticsearch: | |
image: elasticsearch:7.10.1 | |
ports: | |
- 9200:9200 | |
environment: | |
- discovery.type=single-node | |
kibana: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fakePromiseAll(arr) { | |
return Promise.all(arr.map(item => { | |
return item.then( | |
result => { | |
return result; | |
}, | |
error => { | |
return error; | |
} | |
); |