mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-09 12:27:59 -05:00
Merge pull request #109 from MAGICGrants/node-image-downgrade
chore: use node image node:20-alpine3.19
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:20-alpine AS base
|
||||
FROM node:20-alpine3.19 AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
|
||||
@@ -11,8 +11,8 @@ services:
|
||||
expose:
|
||||
- '49392'
|
||||
environment:
|
||||
BTCPAY_POSTGRES: User ID=postgres;Host=btcpay-postgres;Port=5432;Application Name=btcpayserver;Database=btcpayserver${NBITCOIN_NETWORK:-mainnet}
|
||||
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=btcpay-postgres;Port=5432;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer${NBITCOIN_NETWORK:-mainnet}
|
||||
BTCPAY_POSTGRES: User ID=postgres;Host=magic-btcpay-postgres;Port=5432;Application Name=btcpayserver;Database=btcpayserver${NBITCOIN_NETWORK:-mainnet}
|
||||
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=magic-btcpay-postgres;Port=5432;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer${NBITCOIN_NETWORK:-mainnet}
|
||||
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-mainnet}
|
||||
BTCPAY_BIND: 0.0.0.0:49392
|
||||
BTCPAY_ROOTPATH: ${BTCPAY_ROOTPATH:-/}
|
||||
@@ -33,7 +33,7 @@ services:
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
links:
|
||||
- btcpay-postgres
|
||||
- magic-btcpay-postgres
|
||||
volumes:
|
||||
- 'btcpay_datadir:/datadir'
|
||||
- 'nbxplorer_datadir:/root/.nbxplorer'
|
||||
@@ -66,12 +66,12 @@ services:
|
||||
NBXPLORER_BIND: 0.0.0.0:32838
|
||||
NBXPLORER_TRIMEVENTS: 10000
|
||||
NBXPLORER_SIGNALFILESDIR: /datadir
|
||||
NBXPLORER_POSTGRES: User ID=postgres;Host=btcpay-postgres;Port=5432;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer${NBITCOIN_NETWORK:-mainnet}
|
||||
NBXPLORER_POSTGRES: User ID=postgres;Host=magic-btcpay-postgres;Port=5432;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer${NBITCOIN_NETWORK:-mainnet}
|
||||
NBXPLORER_AUTOMIGRATE: 1
|
||||
NBXPLORER_NOMIGRATEEVTS: 1
|
||||
NBXPLORER_DELETEAFTERMIGRATION: 1
|
||||
links:
|
||||
- btcpay-postgres
|
||||
- magic-btcpay-postgres
|
||||
volumes:
|
||||
- 'nbxplorer_datadir:/datadir'
|
||||
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
KEYCLOAK_ADMIN_PASSWORD: admin
|
||||
|
||||
magic-app:
|
||||
image: node:20-alpine
|
||||
image: node:20-alpine3.19
|
||||
container_name: magic-app
|
||||
restart: unless-stopped
|
||||
working_dir: /app
|
||||
|
||||
Reference in New Issue
Block a user