Skip to content

sipf/news-ws

Repository files navigation

News-ws

This project is used for proof of concept only. Of course, you can contribute, you just need to fork and PR your feature.

You can access the data in this repository :

Usage

Start the container :

docker run -p 8080:8080 sipf/news-ws

You can then log to http://127.0.0.1:8080 to use the service or you can simply use this link : https://news-ws.herokuapp.com.

The login is admin and the password is password. The heroku instance means to be demo only and there is no security constraint about it.

Default Configuration

spring:
  profiles:
    active: development

---
spring:
  profiles: production

---
spring:
  profiles: test
  jpa:
    hibernate:
      ddl-auto: create-drop
    show-sql: true
  datasource:
    url: ${JDBC_DATABASE_URL}
    username: ${JDBC_DATABASE_USERNAME}
    password: ${JDBC_DATABASE_PASSWORD}
security:
  user:
    name: admin
    password: password

---
spring:
  profiles: development
  h2:
    console:
      enabled: true
      path: /h2-console
  jpa:
    hibernate:
      ddl-auto: create-drop
    show-sql: true
  datasource:
    platform: h2
server:
  use-forward-headers: true
security:
  user:
    name: admin
    password: password

Building the container

docker build -t sipf/news-ws .

License & Authors

Releases

No releases published

Packages

No packages published