forked from TerriaJS/TerriaMap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ベースをTerriaMap v0.0.8(terriajs v8.3.2に対応)にアップデート。
- Loading branch information
Showing
13 changed files
with
1,947 additions
and
5,504 deletions.
There are no files selected for viewing
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/*global __dirname*/ | ||
const os = require("os"); | ||
const path = require("path"); | ||
|
||
// You can start a production server with: | ||
// pm2 start deploy/ecosystem-example.config.js --update-env --env production | ||
// Or configure it to run automatically as a daemon (systemd, upstart, launchd, rcd) with: | ||
// pm2 startup systemd | ||
|
||
module.exports = { | ||
apps: [ | ||
{ | ||
name: path.basename(path.resolve(__dirname, "..")) + "-production", | ||
script: require.resolve("terriajs-server"), | ||
|
||
// Add arguments to terriajs-server to the following, e.g. --port 4000 | ||
args: "--config-file productionserverconfig.json", | ||
instances: Math.max(4, os.cpus().length), | ||
autorestart: true, | ||
watch: false, | ||
max_memory_restart: "1G", | ||
env: { | ||
NODE_ENV: "development" | ||
}, | ||
env_production: { | ||
NODE_ENV: "production" | ||
} | ||
} | ||
] | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ global: | |
rollingUpdate: | ||
maxUnavailable: 1 | ||
image: | ||
tag: "0.0.1" | ||
tag: "0.0.6" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: v1 | ||
description: "An open source geospatial data explorer" | ||
name: "terria" | ||
version: "0.0.1" | ||
version: "0.1.0" | ||
home: "https://github.com/TerriaJS/terriamap" | ||
sources: ["https://github.com/TerriaJS/terriamap"] |
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 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 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
Oops, something went wrong.