diff --git a/.gitignore b/.gitignore index 58288f1..013426e 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,5 @@ dist/ tools wdb-sidekicks -./wdb \ No newline at end of file + +local_wdb \ No newline at end of file diff --git a/docker-compose.debug.yml b/docker-compose.debug.yml index 7df4fdd..a64b9d1 100644 --- a/docker-compose.debug.yml +++ b/docker-compose.debug.yml @@ -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 diff --git a/docker-compose.source.yml b/docker-compose.source.yml index f507a58..985fcaa 100644 --- a/docker-compose.source.yml +++ b/docker-compose.source.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index b63b01d..e2ab636 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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