Basic email sending

This commit is contained in:
2020-04-24 09:27:07 +02:00
parent d65a7248d1
commit 81778121fb
18 changed files with 757 additions and 36 deletions

View File

@@ -19,23 +19,20 @@ watch:
lint:
golangci-lint run --enable-all
hydra:
docker run \
--rm -it \
--name hydra-passwordless \
-e DSN=memory \
-e URLS_LOGIN=http://localhost:3000/login \
-e URLS_CONSENT=http://localhost:3000/consent \
-p 4444:4444 \
-p 4445:4445 \
oryd/hydra:v1.4.2-alpine \
serve all \
--dangerous-force-http
up:
docker-compose up --build
down:
docker-compose down -v --remove-orphans
create-client:
docker exec -it hydra-passwordless \
docker-compose exec hydra \
sh -c 'HYDRA_URL=http://localhost:4445 hydra clients create -c http://localhost:3000/test/oauth2/callback'
list-clients:
docker-compose exec hydra \
sh -c 'HYDRA_URL=http://localhost:4445 hydra clients list'
clean:
rm -rf release
rm -rf data