Update mempool to app.yml v4

This commit is contained in:
Aaron Dewes 2022-08-31 17:04:42 +02:00
parent 446629ee2a
commit d38da240ec

View File

@ -2,9 +2,10 @@
# #
# SPDX-License-Identifier: AGPL-3.0-only # SPDX-License-Identifier: AGPL-3.0-only
# yaml-language-server: $schema=../../app-standard-v3.yml # yaml-language-server: $schema=../../app-standard-v4.yml
citadel_version: 4
version: 3
metadata: metadata:
category: Explorers category: Explorers
name: Mempool name: Mempool
@ -45,14 +46,16 @@ metadata:
dependencies: dependencies:
- electrum - electrum
- bitcoind - bitcoind
repo: https://github.com/mempool/mempool repo:
Public: https://github.com/mempool/mempool
support: https://t.me/mempoolspace support: https://t.me/mempoolspace
gallery: gallery:
- 1.jpg - 1.jpg
- 2.jpg - 2.jpg
- 3.jpg - 3.jpg
containers:
- name: main services:
main:
image: mempool/frontend:v2.4.0@sha256:f71722f1e3abfb3d8a3df6f2a32e384d39434e311bb83d810629077b4fa6ffaf image: mempool/frontend:v2.4.0@sha256:f71722f1e3abfb3d8a3df6f2a32e384d39434e311bb83d810629077b4fa6ffaf
user: 1000:1000 user: 1000:1000
init: true init: true
@ -60,7 +63,7 @@ containers:
environment: environment:
FRONTEND_HTTP_PORT: $APP_MEMPOOL_MAIN_PORT FRONTEND_HTTP_PORT: $APP_MEMPOOL_MAIN_PORT
BACKEND_MAINNET_HTTP_HOST: $APP_MEMPOOL_API_IP BACKEND_MAINNET_HTTP_HOST: $APP_MEMPOOL_API_IP
- name: api api:
image: mempool/backend:v2.4.0@sha256:6036cc6866b782efadc765e8189958940202b3fa1770eb35c35210c86efd2f47 image: mempool/backend:v2.4.0@sha256:6036cc6866b782efadc765e8189958940202b3fa1770eb35c35210c86efd2f47
user: 1000:1000 user: 1000:1000
init: true init: true
@ -81,9 +84,10 @@ containers:
MEMPOOL_HTTP_PORT: "8999" MEMPOOL_HTTP_PORT: "8999"
MEMPOOL_CACHE_DIR: /backend/cache MEMPOOL_CACHE_DIR: /backend/cache
MEMPOOL_CLEAR_PROTECTION_MINUTES: "20" MEMPOOL_CLEAR_PROTECTION_MINUTES: "20"
data: mounts:
- data:/backend/cache data:
- name: mariadb data: /backend/cache
mariadb:
image: mariadb:10.7.1@sha256:a469ba5edc9267eb3f32f5a6773376677274b09d36bbe742b448fc4c787e6b37 image: mariadb:10.7.1@sha256:a469ba5edc9267eb3f32f5a6773376677274b09d36bbe742b448fc4c787e6b37
user: 1000:1000 user: 1000:1000
environment: environment:
@ -91,6 +95,7 @@ containers:
MYSQL_USER: mempool MYSQL_USER: mempool
MYSQL_PASSWORD: mempool MYSQL_PASSWORD: mempool
MYSQL_ROOT_PASSWORD: moneyprintergobrrr MYSQL_ROOT_PASSWORD: moneyprintergobrrr
data: mounts:
- mysql/db-scripts:/docker-entrypoint-initdb.d data:
- mysql/data:/var/lib/mysql mysql/db-scripts: /docker-entrypoint-initdb.d
mysql/data: /var/lib/mysql