Skip to content

Commit

Permalink
chore: api key voor odrc in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcicatt committed Oct 31, 2024
1 parent 5fbecca commit 4a78b11
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- POSTGRES_PASSWORD=localdev
- ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
- ODRC_BASE_URL=http://odrc/
- ODRC_API_KEY=xxx
- ODRC_API_KEY=insecure-ea1a8d297e3b2d3313b8a30b18959c3
- OIDC_ADMIN_ROLE=odpc-admin
image: ${DOCKER_REGISTRY-}odpc
build:
Expand All @@ -29,7 +29,7 @@ services:
- POSTGRES_PASSWORD=localdev
restart: always
ports:
- "5432:5432"
- "5432"
redis:
image: redis:7
command: ["redis-server", "--appendonly", "yes"]
Expand Down
15 changes: 15 additions & 0 deletions docker/odrc/fixtures/api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"model": "api.application",
"pk": 1,
"fields": {
"token": "insecure-ea1a8d297e3b2d3313b8a30b18959c3",
"permissions": "[\"read\", \"write\"]",
"contact_person": "DEMO PURPOSES",
"email": "",
"phone_number": "",
"last_modified": "2024-10-31T09:11:45.207Z",
"created": "2024-10-31T09:11:45.207Z"
}
}
]

0 comments on commit 4a78b11

Please sign in to comment.