@turboops/cli 1.0.0-dev.622 → 1.0.0-dev.624
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +43 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2081,10 +2081,12 @@ services:
|
|
|
2081
2081
|
restart: unless-stopped
|
|
2082
2082
|
|
|
2083
2083
|
# === APPLICATION SERVICES (keine environment - kommt von TurboOps!) ===
|
|
2084
|
+
# WICHTIG: image: muss gesetzt sein f\xFCr docker compose push!
|
|
2084
2085
|
api:
|
|
2085
2086
|
build:
|
|
2086
2087
|
context: .
|
|
2087
2088
|
dockerfile: ./projects/api/Dockerfile # oder ./api/Dockerfile
|
|
2089
|
+
image: \${IMAGE_NAME}/api:\${IMAGE_TAG:-latest}
|
|
2088
2090
|
expose:
|
|
2089
2091
|
- "3000"
|
|
2090
2092
|
depends_on:
|
|
@@ -2103,7 +2105,8 @@ services:
|
|
|
2103
2105
|
app:
|
|
2104
2106
|
build:
|
|
2105
2107
|
context: .
|
|
2106
|
-
dockerfile: ./projects/app/Dockerfile # oder ./
|
|
2108
|
+
dockerfile: ./projects/app/Dockerfile # oder ./app/Dockerfile
|
|
2109
|
+
image: \${IMAGE_NAME}/app:\${IMAGE_TAG:-latest}
|
|
2107
2110
|
expose:
|
|
2108
2111
|
- "3000"
|
|
2109
2112
|
depends_on:
|
|
@@ -2728,10 +2731,12 @@ services:
|
|
|
2728
2731
|
restart: unless-stopped
|
|
2729
2732
|
|
|
2730
2733
|
# === APPLICATION SERVICES (KEINE environment!) ===
|
|
2734
|
+
# WICHTIG: image: muss gesetzt sein f\xFCr docker compose push!
|
|
2731
2735
|
api:
|
|
2732
2736
|
build:
|
|
2733
2737
|
context: .
|
|
2734
2738
|
dockerfile: projects/api/Dockerfile
|
|
2739
|
+
image: \${IMAGE_NAME}/api:\${IMAGE_TAG:-latest}
|
|
2735
2740
|
expose:
|
|
2736
2741
|
- "3000"
|
|
2737
2742
|
depends_on:
|
|
@@ -2746,6 +2751,23 @@ services:
|
|
|
2746
2751
|
retries: 3
|
|
2747
2752
|
restart: unless-stopped
|
|
2748
2753
|
|
|
2754
|
+
app:
|
|
2755
|
+
build:
|
|
2756
|
+
context: .
|
|
2757
|
+
dockerfile: projects/app/Dockerfile
|
|
2758
|
+
image: \${IMAGE_NAME}/app:\${IMAGE_TAG:-latest}
|
|
2759
|
+
expose:
|
|
2760
|
+
- "3000"
|
|
2761
|
+
depends_on:
|
|
2762
|
+
api:
|
|
2763
|
+
condition: service_healthy
|
|
2764
|
+
healthcheck:
|
|
2765
|
+
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
|
|
2766
|
+
interval: 30s
|
|
2767
|
+
timeout: 10s
|
|
2768
|
+
retries: 3
|
|
2769
|
+
restart: unless-stopped
|
|
2770
|
+
|
|
2749
2771
|
volumes:
|
|
2750
2772
|
mongo_data:
|
|
2751
2773
|
redis_data:
|
|
@@ -2907,10 +2929,13 @@ services:
|
|
|
2907
2929
|
restart: unless-stopped
|
|
2908
2930
|
|
|
2909
2931
|
# === APPLICATION SERVICES (KEINE environment!) ===
|
|
2932
|
+
# WICHTIG: image: muss gesetzt sein f\xFCr docker compose push!
|
|
2933
|
+
# Format: \${IMAGE_NAME:-registry/project}/service:\${IMAGE_TAG:-latest}
|
|
2910
2934
|
api:
|
|
2911
2935
|
build:
|
|
2912
2936
|
context: .
|
|
2913
2937
|
dockerfile: projects/api/Dockerfile
|
|
2938
|
+
image: \${IMAGE_NAME}/api:\${IMAGE_TAG:-latest}
|
|
2914
2939
|
expose:
|
|
2915
2940
|
- "3000"
|
|
2916
2941
|
depends_on:
|
|
@@ -2925,6 +2950,23 @@ services:
|
|
|
2925
2950
|
retries: 3
|
|
2926
2951
|
restart: unless-stopped
|
|
2927
2952
|
|
|
2953
|
+
app:
|
|
2954
|
+
build:
|
|
2955
|
+
context: .
|
|
2956
|
+
dockerfile: projects/app/Dockerfile
|
|
2957
|
+
image: \${IMAGE_NAME}/app:\${IMAGE_TAG:-latest}
|
|
2958
|
+
expose:
|
|
2959
|
+
- "3000"
|
|
2960
|
+
depends_on:
|
|
2961
|
+
api:
|
|
2962
|
+
condition: service_healthy
|
|
2963
|
+
healthcheck:
|
|
2964
|
+
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
|
|
2965
|
+
interval: 30s
|
|
2966
|
+
timeout: 10s
|
|
2967
|
+
retries: 3
|
|
2968
|
+
restart: unless-stopped
|
|
2969
|
+
|
|
2928
2970
|
volumes:
|
|
2929
2971
|
mongo_data:
|
|
2930
2972
|
redis_data:
|