Administrator 4 mēnešus atpakaļ
vecāks
revīzija
95da580fe2
1 mainītis faili ar 38 papildinājumiem un 0 dzēšanām
  1. 38 0
      composebackup.yml

+ 38 - 0
composebackup.yml Parādīt failu

@@ -0,0 +1,38 @@
1
+version: '3.8'
2
+
3
+services:
4
+  postgres:
5
+    image: postgres:13
6
+    restart: always
7
+    environment:
8
+      POSTGRES_USER: factorytrace
9
+      POSTGRES_PASSWORD: 7qUNs4q5c3U7KTrehv0V
10
+      POSTGRES_DB: factorytracedb
11
+    volumes:
12
+      - ./db/lahelice20250819.sql:/docker-entrypoint-initdb.d/lahelice20250819.sql
13
+    ports:
14
+      - "5432:5432"
15
+
16
+  restpod:
17
+    image: devops.vespot.co:5000/factorytracerest:lahelice
18
+    pull_policy: always
19
+    restart: always
20
+    environment:
21
+      DB_HOST: postgres
22
+      DB_PORT: 5432
23
+      DB_USER: factorytrace
24
+      DB_PASS: 7qUNs4q5c3U7KTrehv0V
25
+      DB_NAME: factorytracedb
26
+    ports:
27
+      - "7070:7070"
28
+    depends_on:
29
+      - postgres
30
+
31
+  frontpod:
32
+    image: devops.vespot.co:5000/factorytracefront:lahelice
33
+    pull_policy: always
34
+    restart: always
35
+    ports:
36
+      - "8080:80"
37
+    depends_on:
38
+      - restpod