diff options
| author | Adam Soltys <[email protected]> | 2022-09-14 12:22:03 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-14 09:23:36 -0700 |
| commit | 1fe1bac84ca3ecc1159300768843958916f4eaac (patch) | |
| tree | 4b525dd7376bfbc627119e96785f55915e2cbe1c | |
| parent | 48108047dc4ab1557a2ca8f435885ff88d81e858 (diff) | |
| download | coinos-server-1fe1bac84ca3ecc1159300768843958916f4eaac.tar.gz coinos-server-1fe1bac84ca3ecc1159300768843958916f4eaac.zip | |
restart container policy
| -rw-r--r-- | package.json | 6 | ||||
| -rw-r--r-- | prod.yml | 2 | ||||
| -rw-r--r-- | routes/lnurl.js | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/package.json b/package.json index 06c8a26f..518c2c1a 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,8 @@ "version": "0.0.1", "private": true, "scripts": { - "start": "NODE_OPTIONS=\"--es-module-specifier-resolution=node --experimental-modules --loader ./loader.js --openssl-legacy-provider\" nodemon index.js", - "generate": "sequelize-automate -c config/index.js", - "min": "DEBUG=debug SCOPE=MIN nodemon index.js", - "debug": "DEBUG=debug nodemon index.js" + "start": "NODE_OPTIONS=\"--es-module-specifier-resolution=node --experimental-modules --loader ./loader.js --openssl-legacy-provider\" node index.js", + "dev": "NODE_OPTIONS=\"--es-module-specifier-resolution=node --experimental-modules --loader ./loader.js --openssl-legacy-provider\" nodemon index.js" }, "dependencies": { "@fastify/multipart": "^7.1.2", @@ -3,6 +3,7 @@ services: app: container_name: app image: gcr.io/coinos-326717/github.com/coinos/coinos-server:prod + restart: always ports: - '3118:3118' - '3119:3119' @@ -17,5 +18,6 @@ services: maria: container_name: maria image: mariadb + restart: always environment: MARIADB_ROOT_PASSWORD: pw diff --git a/routes/lnurl.js b/routes/lnurl.js index edebc94d..4335d566 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -30,7 +30,6 @@ const recipients = persist("data/recipients.json"); const lnurlPayments = persist("data/payments.json"); const withdrawals = persist("data/withdrawals.json"); -console.log("creating lnurl"); export const lnurlServer = lnurl.createServer(config.lnurl); app.get("/url", async (req, res, next) => { |
