From 60f4aa8068827bb52966b403bade9afdfa4175f1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 24 Jul 2021 22:15:33 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 8451839..8402af0 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -12,8 +12,8 @@ ExecStart=__YNH_NODE__ main.js StandardOutput=syslog StandardError=syslog SyslogIdentifier=__APP__ -Environment=MONGO_URL=mongodb://127.0.0.1:27017/__APP__?replicaSet=rs01 -Environment=MONGO_OPLOG_URL=mongodb://127.0.0.1:27017/local?replicaSet=rs01 +Environment=MONGO_URL=mongodb://localhost:27017/__APP__?replicaSet=rs01 +Environment=MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01 Environment=ROOT_URL=https://__DOMAIN____PATH__ Environment=PORT=__PORT__