mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Start working on docker compose.
This commit is contained in:
parent
c976046fca
commit
f046bcaebc
5
wise-webapp/Dockerfile
Normal file
5
wise-webapp/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM amazoncorretto:17.0.10
|
||||||
|
|
||||||
|
VOLUME /tmp
|
||||||
|
COPY target/wisemapping-api.jar app.jar
|
||||||
|
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.jar ${0} ${@}"]
|
9
wise-webapp/docker/compose.yaml
Normal file
9
wise-webapp/docker/compose.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
services:
|
||||||
|
database:
|
||||||
|
image: 'postgres:15.2'
|
||||||
|
ports:
|
||||||
|
- '5432'
|
||||||
|
environment:
|
||||||
|
- 'POSTGRES_USER=myuser'
|
||||||
|
- 'POSTGRES_DB=mydatabase'
|
||||||
|
- 'POSTGRES_PASSWORD=secret'
|
@ -214,6 +214,7 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
@ -222,6 +223,17 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>repackage</id>
|
||||||
|
<goals>
|
||||||
|
<goal>repackage</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<finalName>wisemapping-api</finalName>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
<!-- <configuration>-->
|
<!-- <configuration>-->
|
||||||
<!-- <jvmArguments>-->
|
<!-- <jvmArguments>-->
|
||||||
<!-- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005-->
|
<!-- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005-->
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# SpringBoot Configuration ...
|
# SpringBoot Configuration ...
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
output:
|
||||||
|
ansi:
|
||||||
|
enabled=always:
|
||||||
|
application:
|
||||||
|
name: wisemapping-api
|
||||||
|
title: wisemapping-api
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: org.hsqldb.jdbc.JDBCDriver
|
driver-class-name: org.hsqldb.jdbc.JDBCDriver
|
||||||
password: ''
|
password: ''
|
||||||
|
6
wise-webapp/src/main/resources/banner.txt
Normal file
6
wise-webapp/src/main/resources/banner.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
| | |' |\ /| ' /\ |~~\~|~
|
||||||
|
| | ||(~/~/| \/ |/~~||~~\|~~\||/~\ /~~| /__\ |__/ |
|
||||||
|
\/ \/ |_)\/_| |\__||__/|__/|| |\__| / \| _|_
|
||||||
|
| | \__|
|
||||||
|
${application.title} ${application.version}
|
||||||
|
Powered by Spring Boot ${spring-boot.version}
|
Loading…
Reference in New Issue
Block a user