Commit 1df919c8 authored by naji's avatar naji
Browse files

configuration

parent d66da5f2
......@@ -32,7 +32,7 @@ management:
vitamui.cas.tenant.identifier: -1
vitamui.cas.identity: cas
iam-client:
server-host: localhost
server-host: sandbox23-adm.cines.fr
server-port: 8083
secure: true
ssl-configuration:
......@@ -103,7 +103,7 @@ cas.authn.mfa.globalPrincipalAttributeValueRegex: 'true'
cas.authn.mfa.simple.mail.text: xxx
spring.mail.host: localhost
spring.mail.host: sandbox23-adm.cines.fr
spring.mail.port: 2525
spring.mail.username: no-reply@vitamui.com
spring.mail.password: password
......@@ -168,7 +168,7 @@ opentracing:
logSpans: true
expandExceptionLogs: true
udp-sender:
host: localhost
host: sandbox23-adm.cines.fr
port: 6831
debug: true
......
version: "3.9"
services:
security-internal:
image: cinesdaddev/vitamui-security-internal
container_name: security-internal
network_mode: host
iam-external:
image: cinesdaddev/vitamui-iam-external
container_name: iam-external
network_mode: host
iam-internal:
image: cinesdaddev/vitamui-iam-internal
container_name: iam-internal
network_mode: host
cas-server:
image: cinesdaddev/vitamui-cas
container_name: cas-server
network_mode: host
ui-portal:
image: cinesdaddev/vitamui-ui-portal
container_name: ui-portal
network_mode: host
ui-identity:
image: cinesdaddev/vitamui-ui-identity
container_name: ui-identity
network_mode: host
ui-pastis:
image: cinesdaddev/vitamui-ui-pastis
container_name: ui-pastis
network_mode: host
docker rmi $(docker images --filter label=name=dependencies --format {{.ID}}) || echo 'image not found'
docker rmi cinesdaddev/vitamui-security-internal || echo 'image not found'
docker rmi cinesdaddev/vitamui-iam-external || echo 'image not found'
docker rmi cinesdaddev/vitamui-iam-internal || echo 'image not found'
docker rmi cinesdaddev/vitamui-cas || echo 'image not found'
docker rmi cinesdaddev/vitamui-ui-identity || echo 'image not found'
docker rmi cinesdaddev/vitamui-ui-pastis || echo 'image not found'
docker rmi cinesdaddev/vitamui-ui-portal || echo 'image not found'
docker tag $(docker images --filter label=name=security-internal --format {{.ID}}) cinesdaddev/vitamui-security-internal || echo 'image not found'
docker tag $(docker images --filter label=name=iam-internal --format {{.ID}}) cinesdaddev/vitamui-iam-internal || echo 'image not found'
docker tag $(docker images --filter label=name=iam-external --format {{.ID}}) cinesdaddev/vitamui-iam-external || echo 'image not found'
docker tag $(docker images --filter label=name=cas-server --format {{.ID}}) cinesdaddev/vitamui-cas || echo 'image not found'
docker tag $(docker images --filter label=name=ui-identity --format {{.ID}}) cinesdaddev/vitamui-ui-identity || echo 'image not found'
docker tag $(docker images --filter label=name=ui-portal --format {{.ID}}) cinesdaddev/vitamui-ui-portal || echo 'image not found'
docker tag $(docker images --filter label=name=ui-pastis --format {{.ID}}) cinesdaddev/vitamui-ui-pastis || echo 'image not found'
......@@ -3,4 +3,4 @@
#retrieve version
version="$(grep -oP '(?<=>).*?(?=</version>)' pom.xml | grep -v 'version')"
java -jar target/ui-identity-$(echo $version).jar -Xms128m -Xmx512m --spring.profiles.active=dev,recette
java -jar target/ui-identity-$(echo $version).jar -Xms128m -Xmx512m --spring.profiles.active=dev
......@@ -161,7 +161,11 @@
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Start of profiles -->
......
#!/bin/bash
#retrieve version
version="$(grep -oP '(?<=>).*?(?=</version>)' pom.xml | grep -v 'version')"
version="$(grep -oP '(?<=>).*?(?=</version>)' pom.xml | grep -v 'version' | grep 'SNAPSHOT')"
java -jar target/ui-pastis-$(echo $version).jar -Xms128m -Xmx512m --spring.config.additional-location=file:src/main/config/ui-pastis-application-dev.yml
......@@ -3,4 +3,4 @@
#retrieve version
version="$(grep -oP '(?<=>).*?(?=</version>)' pom.xml | grep -v 'version')"
java -jar target/ui-portal-$(echo $version).jar -Xms128m -Xmx512m --spring.profiles.active=dev,recette
java -jar target/ui-portal-$(echo $version).jar -Xms128m -Xmx512m --spring.profiles.active=dev
Supports Markdown
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