Skip to content

Commit 25c70cf

Browse files
committed
One more mirror conifg
1 parent 441c7db commit 25c70cf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ services:
1010
NODE_ENV: production
1111
NODE_OPTIONS: '--max-old-space-size=448'
1212
PORT: ${PORT:-3000}
13+
UNDERLAY_MODE: ${UNDERLAY_MODE:-origin}
14+
UNDERLAY_UPSTREAM: ${UNDERLAY_UPSTREAM:-}
15+
UNDERLAY_NODE_NAME: ${UNDERLAY_NODE_NAME:-}
16+
UNDERLAY_SYNC_SCHEDULE: ${UNDERLAY_SYNC_SCHEDULE:-0 0 * * 0}
1317
ports:
1418
- '${PORT:-3000}:${PORT:-3000}'
1519
deploy:
@@ -54,6 +58,10 @@ services:
5458
environment:
5559
NODE_ENV: production
5660
NODE_OPTIONS: '--max-old-space-size=128'
61+
UNDERLAY_MODE: ${UNDERLAY_MODE:-origin}
62+
UNDERLAY_UPSTREAM: ${UNDERLAY_UPSTREAM:-}
63+
UNDERLAY_NODE_NAME: ${UNDERLAY_NODE_NAME:-}
64+
UNDERLAY_SYNC_SCHEDULE: ${UNDERLAY_SYNC_SCHEDULE:-0 0 * * 0}
5765
command: ['node', '--import', 'tsx/esm', 'tools/cron.ts']
5866
deploy:
5967
replicas: 1

0 commit comments

Comments
 (0)