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