Skip to content

Commit

Permalink
Adjust env file for db and config file path for server
Browse files Browse the repository at this point in the history
  • Loading branch information
ninori9 committed Jan 5, 2025
1 parent ad8bcea commit 6e123a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ COPY --from=build /app/target/angelos-kb-backend-0.0.1-SNAPSHOT.jar /app/app.jar
EXPOSE 9007

# Default entrypoint
ENTRYPOINT ["java", "-jar", "/app/app.jar", "--spring.config.location=file:/app/config/application-prod.properties"]
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ports:
- "5433:5432"
env_file:
- .env
- .env.postgres
volumes:
- postgres_db_data:/var/lib/postgresql/data
networks:
Expand Down

0 comments on commit 6e123a3

Please sign in to comment.