Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • 2024-10-28
2 results

README.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    application.properties 1.02 KiB
    # Production profile (hides stack traces in error.html)
    spring.profiles.active=production
    
    # Datasource
    #spring.datasource.driverClassName=org.postgresql.Driver
    #spring.datasource.url=jdbc:postgresql://localhost:5432/queue
    #spring.datasource.url = "jdbc:postgresql://${CI_ENVIRONMENT_SLUG}-postgres:5432/${POSTGRES_DB}?user=${POSTGRES_USER}&password=${POSTGRES_PASSWORD}&sslmode=disable"
    spring.datasource.url=jdbc:h2:mem:testdb
    #spring.datasource.username=queue
    #spring.datasource.password=
    
    # JPA
    spring.jpa.show-sql=false
    #spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
    spring.jpa.hibernate.ddl-auto=create
    spring.jpa.properties.hibernate.globally_quoted_identifiers=true
    spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
    
    # Hibernate
    hibernate.dialect.storage_engine=H2
    
    # Push messaging
    queue.gcmApiKey=gcm
    # This might look like an actual key, but it's not.
    queue.pushPrivateKey=VGhpcyBpcyBhIHB1YmxpYyBrZXk=
    # This might look like an actual key, but it's not.
    queue.pushPublicKey=VGhpcyBpcyBhIHByaXZhdGUga2V5