-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
99 lines (87 loc) · 4.3 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
rmi: ; docker rmi harbor-docker-registry-dev.gp2.axadmin.net/identifix_cms/bkd-quarkus
#
# Development
#
run-dev-h2: ; ./mvnw compile quarkus\:dev \
-Dquarkus.datasource.url=jdbc\:h2\:mem\:bkd \
-Dquarkus.datasource.driver=org.h2.Driver
run-dev-postgres: ; ./mvnw compile quarkus\:dev \
-Dquarkus.datasource.url=jdbc\:postgresql\://localhost\:5432/bkd \
-Dquarkus.datasource.driver=org.postgresql.Driver \
-Dquarkus.datasource.username=bkd \
-Dquarkus.datasource.password=postgres
run-dev-mariadb: ; ./mvnw compile quarkus\:dev \
-Dquarkus.datasource.url=jdbc:mariadb://localhost:3306/bkd \
-Dquarkus.datasource.driver=org.mariadb.jdbc.Driver \
-Dquarkus.hibernate-orm.dialect=org.hibernate.dialect.MariaDBDialect \
-Dquarkus.datasource.username=root \
-Dquarkus.datasource.password=mariadb
#
# java jar
#
run-jar-h2: ; java \
-Dquarkus.datasource.url=jdbc\:h2\:mem\:bkd \
-Dquarkus.datasource.driver=org.h2.Driver \
-jar ./target/bkd-quarkus-1.0-SNAPSHOT-runner.jar
run-jar-postgres: ; java \
-Dquarkus.datasource.url=jdbc\:postgresql\://localhost\:5432/bkd \
-Dquarkus.datasource.driver=org.postgresql.Driver \
-Dquarkus.datasource.username=bkd \
-Dquarkus.datasource.password=postgres \
-jar ./target/bkd-quarkus-1.0-SNAPSHOT-runner.jar
run-jar-mariadb: ; java \
-Dquarkus.datasource.url=jdbc:mariadb://localhost:3306/bkd \
-Dquarkus.datasource.driver=org.mariadb.jdbc.Driver \
-Dquarkus.hibernate-orm.dialect=org.hibernate.dialect.MariaDBDialect \
-Dquarkus.datasource.username=root \
-Dquarkus.datasource.password=mariadb \
-jar ./target/bkd-quarkus-1.0-SNAPSHOT-runner.jar
#
# local native
#
run-native-postgres: ; ./target/bkd-quarkus-1.0-SNAPSHOT-runner \
-Dquarkus.datasource.url=jdbc\:postgresql\://localhost\:5432/bkd \
-Dquarkus.datasource.driver=org.postgresql.Driver \
-Dquarkus.datasource.username=bkd \
-Dquarkus.datasource.password=postgres
run-native-mariadb: ; ./target/bkd-quarkus-1.0-SNAPSHOT-runner \
-Dquarkus.datasource.url=jdbc:mariadb://localhost:3306/bkd \
-Dquarkus.datasource.driver=org.mariadb.jdbc.Driver \
-Dquarkus.hibernate-orm.dialect=org.hibernate.dialect.MariaDBDialect \
-Dquarkus.datasource.username=root \
-Dquarkus.datasource.password=mariadb
#
# docker native
#
# Be sure and update the IP address to the IP of the machine you are running on (not localhost or 127.0.0.1)
#
run-docker-local-postgres: ; docker run -i --rm -p 8080\:8080 \
--env GREETING_MESSAGE=stuff \
--env QUARKUS_DATASOURCE_DRIVER=org.postgresql.Driver \
--env QUARKUS_DATASOURCE_URL=jdbc\:postgresql\://10.30.4.62\:5432/bkd \
--env QUARKUS_DATASOURCE_USERNAME=bkd \
--env QUARKUS_DATASOURCE_PASSWORD=postgres \
harbor-docker-registry-dev.gp2.axadmin.net/identifix_cms/bkd-quarkus\:latest
run-docker-pcf-postgres: ; docker run -i --rm -p 8080\:8080 \
--env GREETING_MESSAGE=stuff \
--env QUARKUS_DATASOURCE_DRIVER=org.postgresql.Driver \
--env QUARKUS_DATASOURCE_URL=jdbc\:postgresql\://10.55.49.177\:65432/sb_c9ce2008-de13-4720-b191-f135358791b4 \
--env QUARKUS_DATASOURCE_USERNAME=sb_bac29270-1a21-4dc4-a21e-0a704a0aaaed \
--env QUARKUS_DATASOURCE_PASSWORD=83T601ZG9wW27duI5L4V \
harbor-docker-registry-dev.gp2.axadmin.net/identifix_cms/bkd-quarkus\:latest
run-docker-local-mariadb: ; docker run -i --rm -p 8080\:8080 \
--env GREETING_MESSAGE=stuff \
--env QUARKUS_DATASOURCE_DRIVER=org.mariadb.jdbc.Driver \
--env QUARKUS_HIBERNATE-ORM_DIALECT=org.hibernate.dialect.MariaDBDialect \
--env QUARKUS_DATASOURCE_URL=jdbc\:mariadb\://host.docker.internal\:3306/bkd \
--env QUARKUS_DATASOURCE_USERNAME=root \
--env QUARKUS_DATASOURCE_PASSWORD=mariadb \
harbor-docker-registry-dev.gp2.axadmin.net/identifix_cms/bkd-quarkus\:latest
run-docker-pcf-mariadb: ; docker run -i --rm -p 8080\:8080 \
--env GREETING_MESSAGE=stuff \
--env QUARKUS_DATASOURCE_DRIVER=org.mariadb.jdbc.Driver \
--env QUARKUS_HIBERNATE-ORM_DIALECT=org.hibernate.dialect.MariaDBDialect \
--env QUARKUS_DATASOURCE_URL=jdbc\:mariadb\://localhost\:63306/cf_0f279ba2_219a_47a2_8a08_c8c9f96cae79 \
--env QUARKUS_DATASOURCE_USERNAME=ze0BUbdwfHTRVsVI \
--env QUARKUS_DATASOURCE_PASSWORD=h3VL8JqF51QV7Lnm \
harbor-docker-registry-dev.gp2.axadmin.net/identifix_cms/bkd-quarkus\:latest