Docker-compose persistent logs

pull/6343/head
Viktor Baranov 2 years ago
parent 65a6c325a8
commit 23bec1e568
  1. 2
      .gitignore
  2. 1
      CHANGELOG.md
  3. 2
      docker-compose/docker-compose-no-build-erigon.yml
  4. 3
      docker-compose/docker-compose-no-build-ganache.yml
  5. 2
      docker-compose/docker-compose-no-build-geth.yml
  6. 2
      docker-compose/docker-compose-no-build-hardhat-network.yml
  7. 2
      docker-compose/docker-compose-no-build-nethermind.yml
  8. 2
      docker-compose/docker-compose-no-build-no-db-container.yml
  9. 2
      docker-compose/docker-compose-no-rust-verification.yml
  10. 2
      docker-compose/docker-compose.yml

2
.gitignore vendored

@ -47,7 +47,9 @@ screenshots/
/apps/block_scout_web/priv/cert /apps/block_scout_web/priv/cert
/docker-compose/postgres-data /docker-compose/postgres-data
/docker-compose/redis-data
/docker-compose/tmp /docker-compose/tmp
/docker-compose/logs
.idea/ .idea/
*.iml *.iml

@ -31,6 +31,7 @@
### Chore ### Chore
- [#6343](https://github.com/blockscout/blockscout/pull/6343) - Docker-compose persistent logs
- [#6240](https://github.com/blockscout/blockscout/pull/6240) - Elixir 1.14 support - [#6240](https://github.com/blockscout/blockscout/pull/6240) - Elixir 1.14 support
- [#6204](https://github.com/blockscout/blockscout/pull/6204) - Refactor contract libs render, CONTRACT_VERIFICATION_MAX_LIBRARIES, refactor parsing integer env vars in config - [#6204](https://github.com/blockscout/blockscout/pull/6204) - Refactor contract libs render, CONTRACT_VERIFICATION_MAX_LIBRARIES, refactor parsing integer env vars in config
- [#6195](https://github.com/blockscout/blockscout/pull/6195) - Docker compose configs improvements: Redis container name and persistent storage - [#6195](https://github.com/blockscout/blockscout/pull/6195) - Docker compose configs improvements: Redis container name and persistent storage

@ -47,6 +47,8 @@ services:
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN' SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

@ -40,6 +40,7 @@ services:
ETHEREUM_JSONRPC_VARIANT: 'ganache' ETHEREUM_JSONRPC_VARIANT: 'ganache'
ETHEREUM_JSONRPC_HTTP_URL: http://host.docker.internal:8545/ ETHEREUM_JSONRPC_HTTP_URL: http://host.docker.internal:8545/
ETHEREUM_JSONRPC_WS_URL: ws://host.docker.internal:8545/ ETHEREUM_JSONRPC_WS_URL: ws://host.docker.internal:8545/
INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER: 'true'
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: 'true' INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: 'true'
DATABASE_URL: postgresql://postgres:@host.docker.internal:7432/blockscout?ssl=false DATABASE_URL: postgresql://postgres:@host.docker.internal:7432/blockscout?ssl=false
ECTO_USE_SSL: 'false' ECTO_USE_SSL: 'false'
@ -47,6 +48,8 @@ services:
CHAIN_ID: '1337' CHAIN_ID: '1337'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

@ -47,6 +47,8 @@ services:
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN' SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

@ -46,6 +46,8 @@ services:
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN' SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

@ -47,6 +47,8 @@ services:
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN' SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

@ -30,6 +30,8 @@ services:
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN' SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

@ -54,3 +54,5 @@ services:
ENABLE_RUST_VERIFICATION_SERVICE: 'false' ENABLE_RUST_VERIFICATION_SERVICE: 'false'
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/

@ -53,6 +53,8 @@ services:
- ./envs/common-blockscout.env - ./envs/common-blockscout.env
ports: ports:
- 4000:4000 - 4000:4000
volumes:
- ./logs/:/app/logs/
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}

Loading…
Cancel
Save