Switch build to images in docker compose
This commit is contained in:
parent
7dc8fd45d4
commit
1002b7a3b9
@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
rhsolutions-api:
|
||||
build: ..
|
||||
image: gitea.cebotari.ru/chebser/rhsolutions-api:latest
|
||||
container_name: rhsolutions-api
|
||||
ports:
|
||||
- 5000:5000
|
||||
@ -16,10 +16,10 @@ services:
|
||||
- rhsolutions-db
|
||||
restart: unless-stopped
|
||||
rhsolutions-db:
|
||||
image: gitea.cebotari.ru/chebser/rhsolutions-db:latest
|
||||
container_name: rhsolutions-db
|
||||
ports:
|
||||
- 5432:5432
|
||||
build: ./Database
|
||||
environment:
|
||||
- POSTGRES_USER=chebser
|
||||
- POSTGRES_PASSWORD=Rehau-987
|
||||
|
@ -15,7 +15,7 @@
|
||||
</PackageReference>
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.4" />
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.Design" Version="1.1.0" />
|
||||
<PackageReference Include="Rhsolutions.ProductSku" Version="0.2.13" />
|
||||
<PackageReference Include="Rhsolutions.ProductSku" Version="0.2.14" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user