diff --git a/.github/workflows/sdk-tests.yml b/.github/workflows/sdk-tests.yml index 8865a1b01..f68156e0c 100644 --- a/.github/workflows/sdk-tests.yml +++ b/.github/workflows/sdk-tests.yml @@ -142,7 +142,7 @@ jobs: ports: - "8000:8000" env: - DATABASE_URL: "postgres:5432" + DATABASE_URL: "localhost:5432" POSTGRES_DB: "il_sdk" POSTGRES_USER: "il_sdk" POSTGRES_PASSWORD: "test" @@ -185,6 +185,7 @@ jobs: ARGILLA_API_URL: "http://localhost:6900/" ARGILLA_API_KEY: "argilla.apikey" CLIENT_URL: "https://api.aleph-alpha.com" + STUDIO_URL: "http://localhost:8000" run: | ./scripts/test.sh run-notebooks: @@ -220,7 +221,7 @@ jobs: ports: - "8000:8000" env: - DATABASE_URL: "postgres:5432" + DATABASE_URL: "localhost:5432" POSTGRES_DB: "il_sdk" POSTGRES_USER: "il_sdk" POSTGRES_PASSWORD: "test" @@ -259,5 +260,6 @@ jobs: ARGILLA_API_URL: "http://localhost:6900/" ARGILLA_API_KEY: "argilla.apikey" CLIENT_URL: "https://api.aleph-alpha.com" + STUDIO_URL: "http://localhost:8000" run: | ./scripts/notebook_runner.sh diff --git a/docker-compose.yaml b/docker-compose.yaml index ffc8d92f2..55613dd0b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -40,8 +40,7 @@ services: - 3000:3000 # export GITLAB_TOKEN=... - # (optional) export GITLAB_TOKEN=$(op item get YOUR_GITLAB_TOKEN_ENTRY --format json --fields password | jq .value) - # echo $GITLAB_TOKEN | docker login ghcr.io -u your_email@for_gitlab --password-stdin + # (optional) export GITLAB_TOKEN=$(op item get YOUR_TOKEN --format json --fields password | jq .value | tr -d '"') # echo $GITLAB_TOKEN | docker login registry.gitlab.aleph-alpha.de -u your_email@for_gitlab --password-stdin # docker compose pull to update containers studio-backend: @@ -59,7 +58,7 @@ services: POSTGRES_PASSWORD: test AUTHORIZATION_SERVICE_URL: "none" # This overrides the env file - + postgres: image: postgres:15 ports: