build: docker-compose sürümünü ekle ve build hedeflerini kaldır

Docker Compose dosyalarına sürüm bilgisini eklendi ve api, core ve ui
hizmetleri için özel build hedefleri (dev/prod) kaldırılarak varsayılan
build hedefi kullanılacak hale getirildi.
This commit is contained in:
2026-02-16 14:08:01 +03:00
parent 4606970577
commit 02e413c17a
2 changed files with 4 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
version: "3.3"
services:
mongo:
image: mongo:7
@@ -18,7 +20,6 @@ services:
api:
build:
context: ./services/api
target: dev
container_name: subwatcher-api-dev
env_file:
- .env
@@ -43,7 +44,6 @@ services:
core:
build:
context: ./services/core
target: dev
container_name: subwatcher-core-dev
env_file:
- .env
@@ -75,7 +75,6 @@ services:
ui:
build:
context: ./services/ui
target: dev
container_name: subwatcher-ui-dev
environment:
- NODE_ENV=development

View File

@@ -1,3 +1,5 @@
version: "3.3"
services:
mongo:
image: mongo:7
@@ -16,7 +18,6 @@ services:
api:
build:
context: ./services/api
target: prod
container_name: subwatcher-api
restart: unless-stopped
env_file:
@@ -38,7 +39,6 @@ services:
core:
build:
context: ./services/core
target: prod
container_name: subwatcher-core
restart: unless-stopped
env_file:
@@ -67,7 +67,6 @@ services:
ui:
build:
context: ./services/ui
target: prod
container_name: subwatcher-ui
restart: unless-stopped
environment: