Try to debug build

This commit is contained in:
2025-11-20 01:38:16 +01:00
parent 95ce447496
commit ee8efecdec
6 changed files with 142 additions and 2 deletions

View File

@@ -32,6 +32,22 @@ jobs:
registry: git.harmonylab.ovh
username: admin
password: Apslxnap12bn23
- name: Debug Docker and Registry
run: |
echo "=== Docker version ==="
docker version
echo "=== Docker info ==="
docker info
echo "=== Current tags ==="
docker images | grep "$DOCKER_REGISTRY_URL"
echo "=== Test simple image push ==="
docker pull busybox:latest
docker tag busybox:latest $DOCKER_REGISTRY_URL/$DOCKER_REGISTRY_ORG/test-busybox:latest
docker push $DOCKER_REGISTRY_URL/$DOCKER_REGISTRY_ORG/test-busybox:latest || echo "Test push failed"
# Build the Docker image
- name: Build the Docker image

View File

@@ -1,6 +1,6 @@
{
"name": "harmony-back",
"version": "0.12.5",
"version": "0.12.6",
"private": true,
"description": "A Strapi application",
"scripts": {

View File

@@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2025-11-16T17:07:28.990Z"
"x-generation-date": "2025-11-19T13:05:17.727Z"
},
"x-strapi-config": {
"plugins": [

73
stack docker/gitea.yaml Normal file
View File

@@ -0,0 +1,73 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: docker.io/gitea/gitea:1.23.1
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=db:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=Apslxnap12bn23
restart: always
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
- db
db:
image: docker.io/library/mysql:8
restart: always
environment:
- MYSQL_ROOT_PASSWORD=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=Apslxnap12bn23
- MYSQL_DATABASE=gitea
networks:
- gitea
volumes:
- ./mysql:/var/lib/mysql
runner:
image: docker.io/gitea/act_runner:nightly
environment:
TZ: "Europe/Paris"
GITEA_INSTANCE_URL: "http://192.168.0.211:3000"
GITEA_RUNNER_REGISTRATION_TOKEN: "4jooaQuS4GQWQKxQptbHuaZkvkhw926YZfITv0Ec"
GITEA_RUNNER_NAME: "harmony-runner"
volumes:
- /opt/actrunner:/data:rw
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
runner2:
image: docker.io/gitea/act_runner:nightly
environment:
TZ: "Europe/Paris"
GITEA_INSTANCE_URL: "http://192.168.0.211:3000"
GITEA_RUNNER_REGISTRATION_TOKEN: "6EzcNWaeVrQ0igKNDDjLA2DhwmEG3XA748geBe8B"
GITEA_RUNNER_NAME: "harmony-runner2"
volumes:
- /opt/actrunner2:/data:rw
- ./data2:/data
- /var/run/docker.sock:/var/run/docker.sock
registry-ui:
image: ghcr.io/eznix86/docker-registry-ui:latest
ports:
- "8011:80"
environment:
- REGISTRY_URL=https://git.harmonylab.ovh/harmony/v2
- REGISTRY_AUTH=YWRtaW46QXBzbHhuYXAxMmJuMjM=
- LOG_LEVEL=debug

View File

@@ -0,0 +1,26 @@
version: "3.9"
services:
matter-hub:
image: ghcr.io/t0bst4r/home-assistant-matter-hub:latest
container_name: home-assistant-matter-hub
restart: unless-stopped
network_mode: host # indispensable pour mDNS / Matter
environment:
# Adresse de ton instance Home Assistant
# Utilise lIP locale plutôt que le domaine si possible
- HAMH_HOME_ASSISTANT_URL=https://ha.beyonder.synology.me
# Ton token long-lived (Home Assistant)
- HAMH_HOME_ASSISTANT_ACCESS_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwMjU2ZGQ3OTk4MmI0NDdkODNlMjBkYjU4ZDRmOTg1NiIsImlhdCI6MTc2Mjc5NjIwMiwiZXhwIjoyMDc4MTU2MjAyfQ.n2E62mMtmfEqwAjusIGlI0FC5d5Q6jr55UxGAL4u2gc
# Niveau de log (debug si tu veux voir les tentatives dappairage)
- HAMH_LOG_LEVEL=debug
# Port HTTP de linterface locale du hub
- HAMH_HTTP_PORT=8482
volumes:
- ./home-assistant-matter-hub:/data
# Petit délai pour que le réseau LAN soit prêt
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8482/health"]
interval: 30s
timeout: 5s
retries: 5

25
stack docker/s3.yaml Normal file
View File

@@ -0,0 +1,25 @@
services:
minio:
image: bitnami/minio:latest
container_name: minio
ports:
- "9000:9000"
- "9001:9001"
networks:
- s3-net
volumes:
- /data/minio:/bitnami/minio/data
env_file: stack.env
environment:
- MINIO_ROOT_USER=${MINIO_ACCESS_KEY}
- MINIO_ROOT_PASSWORD=${MINIO_SECRET_KEY}
- MINIO_DEFAULT_BUCKETS=${MINIO_DEFAULT_BUCKETS}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
start_period: 30s
restart: unless-stopped
networks:
s3-net: