Добавьте файлы проекта.
This commit is contained in:
37
docker-compose.yml
Normal file
37
docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: playlistshared
|
||||
|
||||
networks:
|
||||
playlistshared_network:
|
||||
driver: bridge
|
||||
proxy_network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
playlistshared.api:
|
||||
image: ${DOCKER_REGISTRY-}playlistshared.api
|
||||
build:
|
||||
context: .
|
||||
dockerfile: PlaylistShared.Api/Dockerfile
|
||||
container_name: playlistshared_api
|
||||
ports:
|
||||
- "7001:80"
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- DOTNET_ENVIRONMENT=Development
|
||||
- ASPNETCORE_URLS=http://+:80
|
||||
networks:
|
||||
- playlistshared_network
|
||||
- proxy_network
|
||||
|
||||
playlistshared.pwa:
|
||||
image: ${DOCKER_REGISTRY-}playlistshared.pwa
|
||||
build:
|
||||
dockerfile: PlaylistShared.Pwa/Dockerfile
|
||||
container_name: playlistshared_pwa
|
||||
ports:
|
||||
- "7101:80"
|
||||
depends_on:
|
||||
- playlistshared.api
|
||||
networks:
|
||||
- playlistshared_network
|
||||
- proxy_network
|
||||
Reference in New Issue
Block a user