diff options
| author | Adam Soltys <[email protected]> | 2022-09-14 12:22:03 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-14 12:22:03 -0400 |
| commit | aa6ce918b043f37bed35b6f5c3106e5251e626b7 (patch) | |
| tree | dcc4c3f225579aa6029e7c7279cb8382952f20e5 | |
| parent | 9f6595065f3c2433b2f542fd12ff976ff02d17e3 (diff) | |
| download | coinos-server-aa6ce918b043f37bed35b6f5c3106e5251e626b7.tar.gz coinos-server-aa6ce918b043f37bed35b6f5c3106e5251e626b7.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 d7d6b172..e5f426a6 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) => { |
