Commit b47868c5 authored by manuel's avatar manuel

modified db-service deployment to be backed up in filesystem

parent 03acb9f8
flutter.sdk=/srv/flutter
\ No newline at end of file
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/srv/flutter
FLUTTER_APPLICATION_PATH=/local/home/manuel/smart/src/dashboard
COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64 i386
DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=false
TREE_SHAKE_ICONS=false
PACKAGE_CONFIG=.packages
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/srv/flutter"
export "FLUTTER_APPLICATION_PATH=/local/home/manuel/smart/src/dashboard"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.packages"
//
// Generated file. Do not edit.
//
#ifndef GeneratedPluginRegistrant_h
#define GeneratedPluginRegistrant_h
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface GeneratedPluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end
NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
//
// Generated file. Do not edit.
//
#import "GeneratedPluginRegistrant.h"
#if __has_include(<integration_test/IntegrationTestPlugin.h>)
#import <integration_test/IntegrationTestPlugin.h>
#else
@import integration_test;
#endif
#if __has_include(<path_provider/FLTPathProviderPlugin.h>)
#import <path_provider/FLTPathProviderPlugin.h>
#else
@import path_provider;
#endif
@implementation GeneratedPluginRegistrant
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[IntegrationTestPlugin registerWithRegistrar:[registry registrarForPlugin:@"IntegrationTestPlugin"]];
[FLTPathProviderPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTPathProviderPlugin"]];
}
@end
......@@ -73,7 +73,8 @@ spec:
spec:
containers:
- name: reputation-calculation-db
image: mongo
image: mongo:4.2.16
imagePullPolicy: IfNotPresent
env:
- name: MONGO_INITDB_ROOT_USERNAME
value: root
......@@ -82,7 +83,10 @@ spec:
ports:
- containerPort: 27017
volumeMounts:
- mountPath: /data/db
- mountPath: /data
name: dbdata
volumes:
- name: dbdata
hostPath:
path: /srv/articonf/db/reputation-calculation
type: Directory
......@@ -72,7 +72,8 @@ spec:
spec:
containers:
- name: business-logic-db
image: mongo
image: mongo:4.2.16
imagePullPolicy: IfNotPresent
env:
- name: MONGO_INITDB_ROOT_USERNAME
value: root
......@@ -81,7 +82,10 @@ spec:
ports:
- containerPort: 27017
volumeMounts:
- mountPath: /data/db
- mountPath: /data
name: dbdata
volumes:
- name: dbdata
\ No newline at end of file
- name: dbdata
hostPath:
path: /srv/articonf/db/business-logic
type: Directory
......@@ -73,7 +73,8 @@ spec:
spec:
containers:
- name: rest-gateway-db
image: mongo
image: mongo:4.2.16
imagePullPolicy: IfNotPresent
env:
- name: MONGO_INITDB_ROOT_USERNAME
value: root
......@@ -82,7 +83,13 @@ spec:
ports:
- containerPort: 27017
volumeMounts:
- mountPath: /data/db
- mountPath: /data
name: dbdata
volumes:
- name: dbdata
\ No newline at end of file
- name: dbdata
hostPath:
path: /srv/articonf/db/rest-gateway
type: Directory
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment