File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ module.exports = () => {
60
60
)
61
61
62
62
if ( process . env . NODE_ENV === 'production' ) {
63
- app . use ( express . static ( path . join ( __dirname , '../../ public' ) ) )
63
+ app . use ( express . static ( path . join ( __dirname , '../public' ) ) )
64
64
}
65
65
66
66
app . use ( require ( '@/middleware/errors.js' ) )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const main = async () => {
27
27
console . log ( `Server listening on ${ address } :${ port } ` )
28
28
} )
29
29
30
- const port = process . env . APP_PORT || 4242
30
+ const port = process . env . API_PORT || 4242
31
31
const host = process . env . APP_HOST || '0.0.0.0'
32
32
33
33
server . listen ( port , host )
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ ersion: '3.7'
2
2
3
3
services :
4
4
lnmarkets :
5
- image : ghcr.io/ln-markets/umbrel:v1.1.4@sha256:7f72864171bbe7922929d940a63c31faed6aa7525b6a236f5a4e0d2680ccdeba
6
- user : 1000:1000
5
+ image : ghcr.io/ln-markets/umbrel:v1.1.4
7
6
init : true
8
7
restart : on-failure
9
8
stop_grace_period : 1m
@@ -12,13 +11,13 @@ services:
12
11
volumes :
13
12
- ${LND_DATA_DIR}:/lnd:ro
14
13
environment :
15
- APP_URL : 0.0.0.0
16
- API_PORT : $APP_LNMARKETS_PORT
17
14
LND_IP : $LND_IP
18
15
LND_GRPC_PORT : $LND_GRPC_PORT
19
16
BITCOIN_NETWORK : $BITCOIN_NETWORK
20
17
APP_HIDDEN_SERVICE : $APP_HIDDEN_SERVICE
21
18
APP_DOMAIN : $APP_DOMAIN
19
+ # LN Markets env var
20
+ API_PORT : $APP_LNMARKETS_PORT
22
21
networks :
23
22
default :
24
23
ipv4_address : $APP_LNMARKETS_IP
You can’t perform that action at this time.
0 commit comments