Skip to content

Commit

Permalink
update docker compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
TanmoySG committed Aug 7, 2023
1 parent 4d0e73a commit 2a1121e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 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
5 changes: 3 additions & 2 deletions docker-compose.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ services:
- USE_TOOL=false
- TOOL_INSTRUCTION=/tools/roles_hidden_field_update -f /wfs/roles/roles_persisted.json true
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
9 changes: 5 additions & 4 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
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
12 changes: 7 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ version: '3.4'

services:
wunderdb:
image: ghcr.io/tanmoysg/wunderdb:latest
image: ghcr.io/tanmoysg/wunderdb:v1.3.3
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

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 2a1121e

Please sign in to comment.