Skip to content

Commit

Permalink
Merge pull request #2631 from eclipse-sw360/feature/nouveau_docker
Browse files Browse the repository at this point in the history
feat(couchdb): Enable use of latest CouchDB with nouveau

Reviewed-by: [email protected]
Tested-by: [email protected]
  • Loading branch information
GMishx authored Oct 2, 2024
2 parents e3dccf3 + 3c45367 commit 9bf7c2b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
3 changes: 3 additions & 0 deletions config/couchdb/nouveau.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[nouveau]
enable = true
url = http://couchdb-nouveau:5987
11 changes: 10 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,26 @@ services:
- etc:/etc/sw360
- ./config/sw360:/app/sw360/config

couchdb-nouveau:
image: ghcr.io/eclipse-sw360/couchdb:3.4.1-nouveau
ports:
- "5987:5987"
- "5988:5988"

couchdb:
image: couchdb:3
image: ghcr.io/eclipse-sw360/couchdb:3.4.1
restart: unless-stopped
environment:
- COUCHDB_CREATE_DATABASE=yes
ports:
- "5984:5984"
depends_on:
- couchdb-nouveau
volumes:
- couchdb:/opt/couchdb/data
- ./config/couchdb/sw360_setup.ini:/opt/couchdb/etc/local.d/sw360_setup.ini
- ./config/couchdb/sw360_log.ini:/opt/couchdb/etc/local.d/sw360_log.ini
- ./config/couchdb/nouveau.ini:/opt/couchdb/etc/local.d/nouveau.ini
healthcheck:
test: ["CMD-SHELL", "curl --fail -s http://couchdb:5984/_up"]
interval: 30s
Expand Down
15 changes: 14 additions & 1 deletion sw360.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
"java.configuration.updateBuildConfiguration": "automatic",
"java.format.settings.url": ".vscode/java-formatter.xml",
"java.compile.nullAnalysis.mode": "automatic",
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable",
"workbench.colorCustomizations": {
"commandCenter.border": "#15202b99",
"sash.hoverBorder": "#65c89b",
"statusBar.background": "#42b883",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#359268",
"statusBarItem.remoteBackground": "#42b883",
"statusBarItem.remoteForeground": "#15202b",
"titleBar.activeBackground": "#42b883",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#42b88399",
"titleBar.inactiveForeground": "#15202b99"
}
}
}

0 comments on commit 9bf7c2b

Please sign in to comment.