update submodule
This commit is contained in:
parent
2dfcf4ca07
commit
e11dc78fdc
10
blindbit/Dockerfile
Normal file
10
blindbit/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Dockerfile personnalisé pour BlindBit avec pgrep et wget
|
||||||
|
FROM git.4nkweb.com/4nk/blindbit-oracle:dev
|
||||||
|
|
||||||
|
# Installer pgrep, wget et autres outils utiles pour les healthchecks
|
||||||
|
USER root
|
||||||
|
RUN apt-get update && apt-get install -y procps wget curl && \
|
||||||
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
# Revenir à l'utilisateur par défaut
|
||||||
|
USER root
|
@ -44,7 +44,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
blindbit:
|
blindbit:
|
||||||
image: git.4nkweb.com/4nk/blindbit-oracle:dev
|
build: ./blindbit
|
||||||
container_name: blindbit-oracle
|
container_name: blindbit-oracle
|
||||||
depends_on:
|
depends_on:
|
||||||
bitcoin:
|
bitcoin:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Script de test de progression pour BlindBit
|
# Script de test de progression pour BlindBit
|
||||||
# Vérifier si le processus BlindBit est en cours d'exécution
|
# Vérifier si le processus BlindBit est en cours d'exécution
|
||||||
if pgrep blindbit > /dev/null 2>/dev/null; then
|
if pgrep main > /dev/null 2>/dev/null; then
|
||||||
# Vérifier l'API
|
# Vérifier l'API
|
||||||
if wget -q --spider http://localhost:8000/tweaks/1 2>/dev/null; then
|
if wget -q --spider http://localhost:8000/tweaks/1 2>/dev/null; then
|
||||||
echo 'BlindBit ready: Oracle service responding'
|
echo 'BlindBit ready: Oracle service responding'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user