robinyo / serendipity-api Goto Github PK
View Code? Open in Web Editor NEWSerendipity Server
License: MIT License
Serendipity Server
License: MIT License
Hello, is possible to deploy 2 running instances on 1 server using docker-compose?
2022-07-24 01:08:17.473 INFO 1 --- [ main] o.s.restapi.database.seed.au.Electorate : Create Electoral Divisions ...
2022-07-24 01:08:17.599 INFO 1 --- [ main] o.s.restapi.database.seed.au.Electorate : Create Electoral Divisions complete
2022-07-24 01:08:17.630 WARN 1 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23505
2022-07-24 01:08:17.631 ERROR 1 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: duplicate key value violates unique constraint "electoral_division_name_index"
Detail: Key (name)=(Adelaide) already exists.
2022-07-24 01:08:17.636 INFO 1 --- [ main] ConditionEvaluationReportLoggingListener :
this error is on serendipity-server, all server start well try to resolve in pgadmin by deleting in serenpidity the index in cause to see but no success
thanks for you help
Following steps from Quick Start guide.
Fails on Step 3: Serve the application when running docker-compose up -d command
Output:
Building serendipity-server
Step 1/9 : FROM openjdk:11.0.7
---> fcfdce4526df
Step 2/9 : COPY /services/jasperreports-server/scripts/wait-for-container-to-exit.sh /
---> Using cache
---> dafd05c91933
Step 3/9 : COPY entrypoint.sh /
---> Using cache
---> 79f4c05850c7
Step 4/9 : RUN echo "apt-get" && chmod +x /*.sh && apt-get update && apt-get install -y --no-install-recommends curl jq && addgroup --system spring && adduser --system spring --ingroup spring && mkdir /opt/serendipity-api && chown spring:spring /opt/serendipity-api
---> Using cache
---> d200c2a40ea5
Step 5/9 : USER spring:spring
---> Using cache
---> 1ebde559df8a
Step 6/9 : COPY ./target/serendipity-rest-api-core-0.0.1-SNAPSHOT.jar /opt/serendipity-api
ERROR: Service 'serendipity-server' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder124468389/target/serendipity-rest-api-core-0.0.1-SNAPSHOT.jar: no such file or directory
I have JDK 14.0.2 installed
I have Maven 3.6.3 installed
I have Docker Desktop installed: Client: Docker Engine - Community, Version: 19.03.12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.