From 1002b7a3b92267229c2423cc427510c0c77a5078 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Thu, 11 May 2023 19:14:10 +0300 Subject: [PATCH] Switch build to images in docker compose --- RhSolutions.Api/Deploy/docker-compose.yml | 4 ++-- RhSolutions.Api/RhSolutions.Api.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RhSolutions.Api/Deploy/docker-compose.yml b/RhSolutions.Api/Deploy/docker-compose.yml index bd5867b..12759a8 100644 --- a/RhSolutions.Api/Deploy/docker-compose.yml +++ b/RhSolutions.Api/Deploy/docker-compose.yml @@ -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 diff --git a/RhSolutions.Api/RhSolutions.Api.csproj b/RhSolutions.Api/RhSolutions.Api.csproj index a5ab8f8..aef22a4 100644 --- a/RhSolutions.Api/RhSolutions.Api.csproj +++ b/RhSolutions.Api/RhSolutions.Api.csproj @@ -15,7 +15,7 @@ - +