Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixing test artifacts
[ealt-edge.git]
/
mecm
/
mepm
/
applcm
/
resources
/
docker-compose.yaml
diff --git
a/mecm/mepm/applcm/resources/docker-compose.yaml
b/mecm/mepm/applcm/resources/docker-compose.yaml
index
d64fa97
..
943556a
100644
(file)
--- a/
mecm/mepm/applcm/resources/docker-compose.yaml
+++ b/
mecm/mepm/applcm/resources/docker-compose.yaml
@@
-5,28
+5,25
@@
networks:
bridge:
external: true
bridge:
external: true
+volumes:
+ my-db:
+
services:
db:
network_mode: bridge
image: mysql:5.7
environment:
MYSQL_DATABASE: 'db'
services:
db:
network_mode: bridge
image: mysql:5.7
environment:
MYSQL_DATABASE: 'db'
- # So you don't have to use root, but you can if you like
MYSQL_USER: 'root'
MYSQL_USER: 'root'
- # You can use whatever password you like
MYSQL_PASSWORD: 'password'
# Password for root access
MYSQL_ROOT_PASSWORD: 'password'
ports:
MYSQL_PASSWORD: 'password'
# Password for root access
MYSQL_ROOT_PASSWORD: 'password'
ports:
- # <Port exposed> : < MySQL Port running inside container>
- '3306:3306'
expose:
- '3306:3306'
expose:
- # Opens port 3306 on the container
- '3306'
- '3306'
- # Where our data will be persisted
volumes:
- my-db:/var/lib/mysql
volumes:
- my-db:/var/lib/mysql
- - /var/lib/mysql
logging:
driver: "json-file"
options:
logging:
driver: "json-file"
options:
@@
-46,19
+43,19
@@
services:
container_name: applcm-broker
environment:
MYSQL_DATABASE: 'db'
container_name: applcm-broker
environment:
MYSQL_DATABASE: 'db'
- # So you don't have to use root, but you can if you like
MYSQL_USER: 'root'
MYSQL_USER: 'root'
- # You can use whatever password you like
MYSQL_PASSWORD: 'password'
MYSQL_PASSWORD: 'password'
- # Password for root access
MYSQL_ROOT_PASSWORD: 'password'
HELM_PLUGIN_PORT: '50051'
KUBERNETES_PLUGIN_PORT: '50052'
MYSQL_ROOT_PASSWORD: 'password'
HELM_PLUGIN_PORT: '50051'
KUBERNETES_PLUGIN_PORT: '50052'
+ LOGFILE_PATH: "/go/release/logfile"
+ LOGGER_LEVEL: "info"
+ ADDRESS: "0.0.0.0:8081"
+ PACKAGE_PATH: "/go/release/application/packages/"
+ PACKAGE_ARTIFACT_PATH: "/Artifacts/Deployment/"
ports:
ports:
- # <Port exposed> : < Applcm Broker Port running inside container>
- '28081:8081'
expose:
- '28081:8081'
expose:
- # Opens port 8081 on the container
- '8081'
logging:
driver: "json-file"
- '8081'
logging:
driver: "json-file"
@@
-75,7
+72,7
@@
services:
HELM_PLUGIN_PORT: '50051'
# Log file path, also to match dockerfile
LOGFILE_PATH: "/go/release/logfile"
HELM_PLUGIN_PORT: '50051'
# Log file path, also to match dockerfile
LOGFILE_PATH: "/go/release/logfile"
- LOGGER_LEVEL: "
logrus.InfoLevel
"
+ LOGGER_LEVEL: "
info
"
CERTIFICATE_PATH: ""
KEY_PATH: ""
# Temp chart file path, to be created in dockerfile
CERTIFICATE_PATH: ""
KEY_PATH: ""
# Temp chart file path, to be created in dockerfile
@@
-85,9
+82,12
@@
services:
# Presently all application to be deployed in same namespace, in future it can be an input while app creation
RELEASE_NAMESPACE: "default"
ports:
# Presently all application to be deployed in same namespace, in future it can be an input while app creation
RELEASE_NAMESPACE: "default"
ports:
- # <Port exposed> : < Applcm helm plugin Port running inside container>
- '50051:50051'
expose:
- '50051:50051'
expose:
- # Opens port 50051 on the container
- '50051'
- '50051'
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
# yamllint enable
# yamllint enable