Skip to content
Merged

Rc #6

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This service implements a **headless OAuth2 login/consent provider** that bridges Ory Hydra (OAuth2 server with DCR) and Google OAuth (identity provider without DCR support).

In words, I could not write myself:
[Detailed breakdown of this OAuth2 flow](OAUTH2_ARCHITECTURE.md)

## Localhost vs Proxy
Expand All @@ -15,8 +16,6 @@ Local development does not enable https
- [Linting](./LINTING.md)
- [Quality Baseline](./QUALITY_BASELINE.mc)
- [Unit Tests](./README.test.md)
- [Authorization Flow](AUTH_FLOW.md)
- This ties nuances of the OAuth2 Authorization Flow into decisions made in the application, as a particular flow was required

### Running Locally

Expand Down
14 changes: 12 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,30 @@ services:
- POSTGRES_PASSWORD=my-super-secret-password
- POSTGRES_DB=hydra
volumes:
- postgres-data:/var/lib/postgres/data
- postgres-data:/var/lib/postgresql/data
# Mount initialization script to create session table
- ./docker/postgres/init-session-table.sql:/docker-entrypoint-initdb.d/01-init-session-table.sql:ro
networks:
- hydra-net
ports:
- "5432:5432"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hydra -d hydra"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
redis:
image: redis
ports:
- 16379:6379
networks:
- hydra-net
headless-ts:
image: 668874212870.dkr.ecr.us-east-1.amazonaws.com/drone-hydra-headless-ts
# Migrated from AWS ECR to Docker Hub for easier access
# Previous: 668874212870.dkr.ecr.us-east-1.amazonaws.com/drone-hydra-headless-ts
image: jeffdyke/hydra-headless-ts:latest
env_file:
- /etc/hydra-headless-ts/.env.auth.hydra
- /etc/hydra-headless-ts/.env.auth.google
Expand Down
Loading
Loading