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' |
version: '3.7' |
||||
|
|
||||
|
networks: |
||||
|
eventhub-network: |
||||
|
external: true |
||||
|
|
||||
services: |
services: |
||||
redis: |
|
||||
image: redis:6.0.10-alpine |
|
||||
networks: |
|
||||
- eventhub-network |
|
||||
postgresql: |
postgresql: |
||||
|
container_name: postgres |
||||
image: postgres |
image: postgres |
||||
restart: always |
restart: always |
||||
|
ports: |
||||
|
- "5432:5432" |
||||
environment: |
environment: |
||||
POSTGRES_USER: "root" |
POSTGRES_USER: "root" |
||||
POSTGRES_PASSWORD: "root" |
POSTGRES_PASSWORD: "root" |
||||
networks: |
networks: |
||||
- eventhub-network |
- eventhub-network |
||||
|
|
||||
networks: |
|
||||
eventhub-network: |
|
||||
external: true |
|
||||
@ -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 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