Skip to content

Commit

Permalink
testnet: add volumes for pg and redis services
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Nov 26, 2022
1 parent 15444f7 commit 3247b03
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions testnet_v1_1/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Requires docker-compose >= 1.29.0
version: '3.9'

volumes:
testnet_v1-web3-indexer-data:
testnet_v1-redis-data:

services:
# Note: To achieve higher sync speed, please run your own ckb-testnet-node and ckb-testnet-indexer,
# and update [rpc_client] in gw-testnet_v1-config-readonly.toml.
Expand Down Expand Up @@ -37,13 +41,13 @@ services:
POSTGRES_USER: your_db_user_name
POSTGRES_PASSWORD: your_password
volumes:
- ./chain-data/postgresql/data:/var/lib/postgresql/data
- testnet_v1-web3-indexer-data:/var/lib/postgresql/data

redis:
image: redis:bullseye
user: redis:redis
volumes:
- ./chain-data/redis-data:/data
- testnet_v1-redis-data:/data

web3:
image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.9.0-rc2
Expand Down

0 comments on commit 3247b03

Please sign in to comment.