Add volume for Postgres Docker container DB

pull/7332/head
Viktor Baranov 2 years ago
parent 5be070a4ad
commit 3e965ea899
  1. 5
      .gitignore
  2. 1
      CHANGELOG.md
  3. 2
      docker-compose/services/docker-compose-db.yml
  4. 2
      docker-compose/services/docker-compose-stats.yml

5
.gitignore vendored

@ -48,8 +48,9 @@ dump.rdb
# mix phx.gen.cert self-signed certs for dev # mix phx.gen.cert self-signed certs for dev
/apps/block_scout_web/priv/cert /apps/block_scout_web/priv/cert
/docker-compose/postgres-data /docker-compose/services/blockscout-db-data
/docker-compose/redis-data /docker-compose/services/stats-db-data
/docker-compose/services/redis-data
/docker-compose/tmp /docker-compose/tmp
/docker-compose/logs /docker-compose/logs

@ -21,6 +21,7 @@
### Chore ### Chore
- [#7332](https://github.com/blockscout/blockscout/pull/7332) - Add volume for Postgres Docker containers DB
- [#7328](https://github.com/blockscout/blockscout/pull/7328) - Update Docker image tag latest with release only - [#7328](https://github.com/blockscout/blockscout/pull/7328) - Update Docker image tag latest with release only
- [#7312](https://github.com/blockscout/blockscout/pull/7312) - Add configs for Uniswap v3 transaction actions to index them on Base Goerli - [#7312](https://github.com/blockscout/blockscout/pull/7312) - Add configs for Uniswap v3 transaction actions to index them on Base Goerli
- [#7310](https://github.com/blockscout/blockscout/pull/7310) - Reducing resource consumption on bs-indexer-eth-goerli environment - [#7310](https://github.com/blockscout/blockscout/pull/7310) - Reducing resource consumption on bs-indexer-eth-goerli environment

@ -12,3 +12,5 @@ services:
POSTGRES_HOST_AUTH_METHOD: 'trust' POSTGRES_HOST_AUTH_METHOD: 'trust'
ports: ports:
- 7432:5432 - 7432:5432
volumes:
- ./blockscout-db-data:/var/lib/postgresql/data/

@ -30,3 +30,5 @@ services:
- STATS__RUN_MIGRATIONS=true - STATS__RUN_MIGRATIONS=true
ports: ports:
- 8153:8050 - 8153:8050
volumes:
- ./stats-db-data:/var/lib/postgresql/data/

Loading…
Cancel
Save