mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +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>
|
||||
</dependencies>
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@ -222,6 +223,17 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<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>-->
|
||||
<!-- <jvmArguments>-->
|
||||
<!-- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005-->
|
||||
|
@ -1,6 +1,12 @@
|
||||
# SpringBoot Configuration ...
|
||||
|
||||
spring:
|
||||
output:
|
||||
ansi:
|
||||
enabled=always:
|
||||
application:
|
||||
name: wisemapping-api
|
||||
title: wisemapping-api
|
||||
datasource:
|
||||
driver-class-name: org.hsqldb.jdbc.JDBCDriver
|
||||
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