Skip to content

Commit

Permalink
Merge pull request #141 from TanmoySG/bwcompat-pkey
Browse files Browse the repository at this point in the history
Bwcompat pkey
  • Loading branch information
TanmoySG authored Sep 15, 2023
2 parents 4e1fc8b + 1ceff49 commit 989cb45
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ dist/

tools
wdb-sidekicks
./wdb

local_wdb
9 changes: 5 additions & 4 deletions docker-compose.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ services:
- ADMIN_ID=${ADMIN_ID}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
# optional wdb-tools usage field - pass without quotes ("")
- USE_TOOL=false
- TOOL_INSTRUCTION=/tools/roles_hidden_field_update -f /wfs/roles/roles_persisted.json true
- USE_TOOL=true
- TOOL_INSTRUCTION=/tools/migrate_databases_primary_key
volumes:
- ./wdb/wfs:/wfs
- ./wdb/configs:/root/wdb/configs
- ./local_wdb/wfs:/wfs
- ./local_wdb/txlogs:/root/wdb/txlogs
- ./local_wdb/configs:/root/wdb/configs
13 changes: 7 additions & 6 deletions docker-compose.source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ services:
dockerfile: ./Dockerfile
container_name: wunderdb
ports:
- 8080:8080
- 8086:8086
environment:
- PORT=8080
- PORT=8086
- PERSISTANT_STORAGE_PATH=/wfs
- ADMIN_ID=${ADMIN_ID}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
# optional wdb-tools usage field - pass without quotes ("")
- USE_TOOL=false
- TOOL_INSTRUCTION=/tools/roles_hidden_field_update -f /wfs/roles/roles_persisted.json true
- USE_TOOL=true
- TOOL_INSTRUCTION=/tools/migrate_databases_primary_key
volumes:
- ./wdb/wfs:/wfs
- ./wdb/configs:/root/wdb/configs
- ./local_wdb/wfs:/wfs
- ./local_wdb/txlogs:/root/wdb/txlogs
- ./local_wdb/configs:/root/wdb/configs
13 changes: 7 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ services:
image: ghcr.io/tanmoysg/wunderdb:latest
container_name: wunderdb
ports:
- 8080:8080
- 8086:8086
environment:
- PORT=8080
- PORT=8086
- PERSISTANT_STORAGE_PATH=/wfs
- ADMIN_ID=${ADMIN_ID}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
# optional wdb-tools usage field - pass without quotes ("")
- USE_TOOL=false
- TOOL_INSTRUCTION=/tools/roles_hidden_field_update -f /wfs/roles/roles_persisted.json true
- USE_TOOL=true
- TOOL_INSTRUCTION=/tools/migrate_databases_primary_key
volumes:
- ./wdb/wfs:/wfs
- ./wdb/configs:/root/wdb/configs
- ./local_wdb/wfs:/wfs
- ./local_wdb/txlogs:/root/wdb/txlogs
- ./local_wdb/configs:/root/wdb/configs

0 comments on commit 989cb45

Please sign in to comment.