🧱(e2e) add yhub-e2e service

Add yhub-e2e service to the Docker Compose setup.
It will test yhub with the production image.
This commit is contained in:
Anthony LC
2026-09-22 16:03:33 +02:00
committed by Manuel Raynaud
parent 0043216040
commit daad1f380f
2 changed files with 48 additions and 4 deletions
+33
View File
@@ -24,3 +24,36 @@ services:
env_file:
- env.d/development/common
- env.d/development/common.local
yhub-e2e:
user: ${DOCKER_USER:-1000}
networks:
default:
aliases:
- yhub
build:
context: .
dockerfile: ./src/yhub-server/Dockerfile
target: yhub
image: impress:yhub-e2e
environment:
HOME: /tmp
env_file:
- env.d/development/yhub-postgres
- env.d/development/yhub-postgres.local
- env.d/development/yhub
- env.d/development/yhub.local
restart: unless-stopped
volumes:
- ./data/jwt:/data/jwt:ro
ports:
- "3002:3002"
depends_on:
yhub-valkey:
condition: service_healthy
yhub-postgres:
condition: service_healthy
createbuckets:
condition: service_completed_successfully
minio:
condition: service_healthy