mirror of https://github.com/abpframework/eventhub
6 changed files with 31 additions and 20 deletions
@ -1,9 +0,0 @@ |
|||
version: '3.7' |
|||
|
|||
services: |
|||
redis: |
|||
ports: |
|||
- "6379:6379" |
|||
postgresql: |
|||
ports: |
|||
- "5432:5432" |
|||
@ -1 +1 @@ |
|||
docker-compose -f docker-compose.infrastructure.yml -f docker-compose.infrastructure.override.yml down |
|||
docker-compose -f infrastructure/posgres.yml -f infrastructure/redis.yml down |
|||
@ -1,19 +1,18 @@ |
|||
version: '3.7' |
|||
|
|||
networks: |
|||
eventhub-network: |
|||
external: true |
|||
|
|||
services: |
|||
redis: |
|||
image: redis:6.0.10-alpine |
|||
networks: |
|||
- eventhub-network |
|||
postgresql: |
|||
container_name: postgres |
|||
image: postgres |
|||
restart: always |
|||
ports: |
|||
- "5432:5432" |
|||
environment: |
|||
POSTGRES_USER: "root" |
|||
POSTGRES_PASSWORD: "root" |
|||
networks: |
|||
- eventhub-network |
|||
|
|||
networks: |
|||
eventhub-network: |
|||
external: true |
|||
- eventhub-network |
|||
@ -0,0 +1,14 @@ |
|||
version: '3.7' |
|||
|
|||
networks: |
|||
eventhub-network: |
|||
external: true |
|||
|
|||
services: |
|||
redis: |
|||
container_name: redis |
|||
image: redis:6.0.10-alpine |
|||
ports: |
|||
- "6379:6379" |
|||
networks: |
|||
- eventhub-network |
|||
@ -1,2 +1,2 @@ |
|||
docker network create eventhub-network |
|||
docker-compose -f docker-compose.infrastructure.yml -f docker-compose.infrastructure.override.yml up -d --remove-orphans |
|||
docker-compose -f infrastructure/posgres.yml -f infrastructure/redis.yml up -d --remove-orphans |
|||
Loading…
Reference in new issue