Skip to content

Commit

Permalink
refactor: Disable logging on disk for couchdb and configure authoriza…
Browse files Browse the repository at this point in the history
…tion server

Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
  • Loading branch information
heliocastro committed Sep 9, 2024
1 parent 315c694 commit 324bd26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/couchdb/sw360_log.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[log]
writer = file
file = /opt/couchdb/log/couch.log
file = /opt/couchdb/var/log/couch.log
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ services:
volumes:
- couchdb:/opt/couchdb/data
- ./config/couchdb/sw360_setup.ini:/opt/couchdb/etc/local.d/sw360_setup.ini:ro
- ./config/couchdb/sw360_log.ini:/opt/couchdb/etc/local.d/sw360_log.ini:ro
- ./logs/couchdb:/opt/couchdb/log
# - ./config/couchdb/sw360_log.ini:/opt/couchdb/etc/local.d/sw360_log.ini:ro
# - ./logs/couchdb:/opt/couchdb/log
healthcheck:
test: ["CMD-SHELL", "curl --fail -s http://couchdb:5984/_up"]
interval: 30s
Expand Down
4 changes: 2 additions & 2 deletions rest/authorization-server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ couchdb:
url: http://localhost:5984
database: sw360oauthclients
# if your couchdb does not use authentication, pls just don't use the settings for username and password
#username:
#password:
username: sw360
password: sw360fossie

jwt:
secretkey: sw360SecretKey
Expand Down

0 comments on commit 324bd26

Please sign in to comment.