Skip to content

Commit

Permalink
wip: config auth
Browse files Browse the repository at this point in the history
  • Loading branch information
MalinAhlberg committed Apr 22, 2024
1 parent 500b62c commit 596d824
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions config/config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ app: # this is for download
host: "0.0.0.0"
port: "8443"

auth:
s3inbox: "http://localhost:8000"
publicFile: "/shared/c4gh.pub.pem"

archive:
type: "s3"
url: "http://s3"
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:

auth:
container_name: auth
command: sda-auth
image: ghcr.io/neicnordic/sensitive-data-archive:v0.3.25
depends_on:
credentials:
Expand All @@ -35,14 +36,13 @@ services:
- ELIXIR_JWKPATH=jwk
- ELIXIR_REDIRECTURL=http://localhost:8085/elixir/login
- LOG_LEVEL=info
- PUBLICFILE=/shared/c4gh.pub.pem
- RESIGNJWT=false
- S3INBOX=http://localhost:8000
- LOG_LEVEL=debug
extra_hosts:
- ${DOCKERHOST:-localhost}:host-gateway
volumes:
- shared:/shared
- ${CONFIG_FILEPATH}:/config.yaml
ports:
- 8085:8080
restart: always
Expand Down Expand Up @@ -290,7 +290,7 @@ services:
- shared:/shared

reencrypt:
command: [sda-reencrypt]
command: sda-reencrypt
container_name: reencrypt
depends_on:
credentials:
Expand Down

0 comments on commit 596d824

Please sign in to comment.