File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44
44
env :
45
45
TEST_MAILHOG_SMTP :
" smtp://test:[email protected] :1025/?disable_starttls=true"
46
46
TEST_MAILHOG_API : http://127.0.0.1:8025
47
- TEST_SELFSERVICE_OIDC_HYDRA_ADMIN : http://127.0.0.1 :4445
48
- TEST_SELFSERVICE_OIDC_HYDRA_PUBLIC : http://127.0.0.1 :4444
47
+ TEST_SELFSERVICE_OIDC_HYDRA_ADMIN : http://localhost :4445
48
+ TEST_SELFSERVICE_OIDC_HYDRA_PUBLIC : http://localhost :4444
49
49
TEST_SELFSERVICE_OIDC_HYDRA_INTEGRATION_ADDR : http://127.0.0.1:4499
50
50
TEST_DATABASE_POSTGRESQL : " postgres://test:test@localhost:5432/postgres?sslmode=disable"
51
51
TEST_DATABASE_MYSQL : " mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true"
65
65
- run : |
66
66
docker create --name hydra -p 4445:4445 -p 4444:4444 \
67
67
-e DSN=memory \
68
- -e URLS_SELF_ISSUER=http://127.0.0.1 :4444/ \
68
+ -e URLS_SELF_ISSUER=http://localhost :4444/ \
69
69
-e URLS_LOGIN=http://127.0.0.1:4499/login \
70
70
-e URLS_CONSENT=http://127.0.0.1:4499/consent \
71
71
oryd/hydra:v1.4.10 serve all --dangerous-force-http
Original file line number Diff line number Diff line change 3
3
export TEST_DATABASE_MYSQL=" mysql://root:secret@(127.0.0.1:3444)/mysql?parseTime=true&multiStatements=true"
4
4
export TEST_DATABASE_POSTGRESQL=
" postgres://postgres:[email protected] :3445/postgres?sslmode=disable"
5
5
export TEST_DATABASE_COCKROACHDB=
" cockroach://[email protected] :3446/defaultdb?sslmode=disable"
6
- export TEST_SELFSERVICE_OIDC_HYDRA_ADMIN=http://127.0.0.1 :4445
7
- export TEST_SELFSERVICE_OIDC_HYDRA_PUBLIC=http://127.0.0.1 :4444
8
- export TEST_SELFSERVICE_OIDC_HYDRA_INTEGRATION_ADDR=http://127.0.0.1 :4446
6
+ export TEST_SELFSERVICE_OIDC_HYDRA_ADMIN=http://localhost :4445
7
+ export TEST_SELFSERVICE_OIDC_HYDRA_PUBLIC=http://localhost :4444
8
+ export TEST_SELFSERVICE_OIDC_HYDRA_INTEGRATION_ADDR=http://localhost :4446
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ docker rm -f kratos_test_database_mysql kratos_test_database_postgres kratos_tes
4
4
docker run --platform linux/amd64 --name kratos_test_database_mysql -p 3444:3306 -e MYSQL_ROOT_PASSWORD=secret -d mysql:8.0.23
5
5
docker run --platform linux/amd64 --name kratos_test_database_postgres -p 3445:5432 -e POSTGRES_PASSWORD=secret -e POSTGRES_DB=postgres -d postgres:11.8 postgres -c log_statement=all
6
6
docker run --platform linux/amd64 --name kratos_test_database_cockroach -p 3446:26257 -p 3447:8080 -d cockroachdb/cockroach:v21.2.6 start-single-node --insecure
7
- docker run --platform linux/amd64 --name kratos_test_hydra -p 4444:4444 -p 4445:4445 -d -e DSN=memory -e URLS_SELF_ISSUER=http://127.0.0.1 :4444 -e URLS_LOGIN=http://127.0.0.1 :4446/login -e URLS_CONSENT=http://127.0.0.1 :4446/consent oryd/hydra:v1.9.2-sqlite serve all --dangerous-force-http
7
+ docker run --platform linux/amd64 --name kratos_test_hydra -p 4444:4444 -p 4445:4445 -d -e DSN=memory -e URLS_SELF_ISSUER=http://localhost :4444 -e URLS_LOGIN=http://localhost :4446/login -e URLS_CONSENT=http://localhost :4446/consent oryd/hydra:v1.9.2-sqlite serve all --dangerous-force-http
8
8
9
9
source script/test-envs.sh
You can’t perform that action at this time.
0 commit comments