fix paths

This commit is contained in:
Elio Bischof
2025-07-23 19:09:52 +02:00
parent 8fd0554592
commit 1cb277d36d
3 changed files with 31 additions and 31 deletions

View File

@@ -24,7 +24,7 @@ services:
PGUSER: postgres PGUSER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready"] test: [ "CMD-SHELL", "pg_isready" ]
interval: "10s" interval: "10s"
timeout: "30s" timeout: "30s"
retries: 5 retries: 5
@@ -44,7 +44,7 @@ services:
container_name: login-integration container_name: login-integration
build: build:
context: ../.. context: ../..
dockerfile: dockerfiles/login.Dockerfile dockerfile: build/login/Dockerfile
image: "${LOGIN_TAG:-zitadel-login:local}" image: "${LOGIN_TAG:-zitadel-login:local}"
env_file: ../../apps/login/.env.test env_file: ../../apps/login/.env.test
network_mode: service:devcontainer network_mode: service:devcontainer
@@ -156,26 +156,26 @@ services:
configure-login: configure-login:
condition: "service_completed_successfully" condition: "service_completed_successfully"
# mock-oidcop: # mock-oidcop:
# container_name: mock-oidcop # container_name: mock-oidcop
# build: # build:
# context: ../../apps/login/acceptance/idp/oidc # context: ../../apps/login/acceptance/idp/oidc
# dockerfile: ../../go-command.Dockerfile # dockerfile: ../../go-command.Dockerfile
# args: # args:
# - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine} # - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine}
# network_mode: service:devcontainer # network_mode: service:devcontainer
# environment: # environment:
# API_URL: 'http://localhost:8080' # API_URL: 'http://localhost:8080'
# API_DOMAIN: 'localhost' # API_DOMAIN: 'localhost'
# PAT_FILE: '/pat/zitadel-admin-sa.pat' # PAT_FILE: '/pat/zitadel-admin-sa.pat'
# SCHEMA: 'http' # SCHEMA: 'http'
# HOST: 'localhost' # HOST: 'localhost'
# PORT: "8004" # PORT: "8004"
# volumes: # volumes:
# - "../apps/login/packages/acceptance/pat:/pat:cached" # - "../apps/login/packages/acceptance/pat:/pat:cached"
# depends_on: # depends_on:
# configure-login: # configure-login:
# condition: "service_completed_successfully" # condition: "service_completed_successfully"
mock-samlsp: mock-samlsp:
container_name: mock-samlsp container_name: mock-samlsp

View File

@@ -1,6 +1,6 @@
# login-standalone should be extended by the login-standalone target in apps/login/docker-bake.hcl # login-standalone should be extended by the login-standalone target in apps/login/docker-bake.hcl
target "login-standalone" { target "login-standalone" {
dockerfile = "dockerfiles/login.Dockerfile" dockerfile = "build/login/Dockerfile"
} }
target "login-standalone-out" { target "login-standalone-out" {

View File

@@ -5,12 +5,12 @@ services:
image: '${ZITADEL_IMAGE:-ghcr.io/zitadel/zitadel:latest}' image: '${ZITADEL_IMAGE:-ghcr.io/zitadel/zitadel:latest}'
build: build:
context: ../../.. context: ../../..
dockerfile: ./build/Dockerfile dockerfile: ./build/zitadel/Dockerfile
target: artifact target: artifact
cache_from: cache_from:
- type=gha - type=gha
cache_to: cache_to:
- type=gha,mode=max - type=gha,mode=max
command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled --config /zitadel.yaml --steps /zitadel.yaml' command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled --config /zitadel.yaml --steps /zitadel.yaml'
depends_on: depends_on:
db: db:
@@ -18,15 +18,15 @@ services:
volumes: volumes:
- ./zitadel.yaml:/zitadel.yaml - ./zitadel.yaml:/zitadel.yaml
ports: ports:
- "8080:8080" - "8080:8080"
healthcheck: healthcheck:
test: ["CMD", "/app/zitadel", "ready", "--config", "/zitadel.yaml" ] test: [ "CMD", "/app/zitadel", "ready", "--config", "/zitadel.yaml" ]
interval: '10s' interval: '10s'
timeout: '5s' timeout: '5s'
retries: 5 retries: 5
start_period: '10s' start_period: '10s'
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
db: db:
restart: 'always' restart: 'always'
@@ -35,7 +35,7 @@ services:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "zitadel", "-U", "postgres"] test: [ "CMD-SHELL", "pg_isready", "-d", "zitadel", "-U", "postgres" ]
interval: '10s' interval: '10s'
timeout: '30s' timeout: '30s'
retries: 5 retries: 5