docker compose
This commit is contained in:
52
docker-compose.yml
Normal file
52
docker-compose.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
aiass:
|
||||
build:
|
||||
context: ./Presentation/AIAss
|
||||
dockerfile: Dockerfile
|
||||
image: aiass:latest
|
||||
container_name: aiass
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Production
|
||||
- ASPNETCORE_URLS=http://+:5010
|
||||
ports:
|
||||
- "5011:5010"
|
||||
networks:
|
||||
- hushainnet
|
||||
- aiassnet
|
||||
|
||||
webapi:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Presentation/Hushian.WebApi/Dockerfile
|
||||
image: hushian.webapi:latest
|
||||
container_name: hushian-webapi
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Production
|
||||
ports:
|
||||
- "1011:8080"
|
||||
- "1012:8081"
|
||||
networks:
|
||||
- hushainnet
|
||||
|
||||
webapp:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Presentation/HushianWebApp/Dockerfile
|
||||
image: hushian.webapp:latest
|
||||
container_name: hushian-webapp
|
||||
ports:
|
||||
- "80:5165"
|
||||
depends_on:
|
||||
- webapi
|
||||
networks:
|
||||
- hushainnet
|
||||
|
||||
networks:
|
||||
hushainnet:
|
||||
name: hushainnet
|
||||
aiassnet:
|
||||
name: aiassnet
|
||||
|
||||
|
Reference in New Issue
Block a user