|
|
|
@ -2,24 +2,14 @@ version: '3.8' |
|
|
|
|
|
|
|
|
|
services: |
|
|
|
|
redis_db: |
|
|
|
|
image: 'redis:alpine' |
|
|
|
|
ports: |
|
|
|
|
- 6379:6379 |
|
|
|
|
container_name: redis_db |
|
|
|
|
command: redis-server |
|
|
|
|
volumes: |
|
|
|
|
- ./redis-data:/data |
|
|
|
|
extends: |
|
|
|
|
file: ./services/docker-compose-redis.yml |
|
|
|
|
service: redis_db |
|
|
|
|
|
|
|
|
|
db: |
|
|
|
|
image: postgres:14 |
|
|
|
|
restart: always |
|
|
|
|
container_name: 'postgres' |
|
|
|
|
environment: |
|
|
|
|
POSTGRES_PASSWORD: '' |
|
|
|
|
POSTGRES_USER: 'postgres' |
|
|
|
|
POSTGRES_HOST_AUTH_METHOD: 'trust' |
|
|
|
|
ports: |
|
|
|
|
- 7432:5432 |
|
|
|
|
extends: |
|
|
|
|
file: ./services/docker-compose-db.yml |
|
|
|
|
service: db |
|
|
|
|
|
|
|
|
|
blockscout: |
|
|
|
|
platform: linux/x86_64 |
|
|
|
|