https://github.com/openbookpublishers/handle_db
Postgres database for the handle system
https://github.com/openbookpublishers/handle_db
Last synced: 4 months ago
JSON representation
Postgres database for the handle system
- Host: GitHub
- URL: https://github.com/openbookpublishers/handle_db
- Owner: OpenBookPublishers
- License: mit
- Created: 2019-04-23T11:15:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T11:21:15.000Z (about 7 years ago)
- Last Synced: 2025-07-30T22:25:06.239Z (11 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Handle Server Database
Postgres database of handles
## Instructions
Start a database instance:
`
docker run --name handle_db -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_DB=handlesystem -e POSTGRES_USER=handleserver -d openbookpublishers/handle_db
`
Then at the handle server ([openbookpublishers/handle_server][1]) you must add the following subsection to the server config section within `config.dct`:
```
"storage_type" = "sql"
"sql_settings" = {
"sql_url" = "jdbc:postgresql://handle_db/handlesystem"
"sql_driver" = "org.postgresql.Driver"
"sql_login" = "handleserver"
"sql_passwd" = "mysecretpassword"
"sql_read_only" = "no"
}
```
[1]: https://github.com/OpenBookPublishers/handle_server "Handle server repo"