3 changed files with 37 additions and 0 deletions
@ -0,0 +1,33 @@ |
|||
version: '3.7' |
|||
|
|||
services: |
|||
administration-service: |
|||
image: eshoponabp/service-administration:latest |
|||
container_name: administration-service-container |
|||
build: |
|||
context: ../../ |
|||
dockerfile: services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile |
|||
environment: |
|||
- ASPNETCORE_ENVIRONMENT=Development |
|||
- ASPNETCORE_URLS=https://+:443;http://+:80 |
|||
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|||
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|||
- Redis__Configuration=redis |
|||
- RabbitMQ__Connections__Default__HostName=rabbitmq |
|||
- RabbitMQ__Connections__Default__Port=5672 |
|||
- ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|||
ports: |
|||
- "44353:443" |
|||
depends_on: |
|||
- redis |
|||
- postgres-db |
|||
- rabbitmq |
|||
restart: on-failure |
|||
networks: |
|||
- eshoponabp-network |
|||
volumes: |
|||
- ../dev-cert:/root/certificate |
|||
|
|||
networks: |
|||
eshoponabp-network: |
|||
external: true |
|||
@ -0,0 +1,2 @@ |
|||
docker network create eshoponabp-network |
|||
docker-compose -f docker-compose.yml -f docker-compose.infrastructure.yml -f docker-compose.infrastructure.override.yml up -d |
|||
@ -0,0 +1,2 @@ |
|||
docker-compose -f docker-compose.yml -f docker-compose.infrastructure.yml -f docker-compose.infrastructure.override.yml down |
|||
docker network rm eshoponabp-network |
|||
Loading…
Reference in new issue