diff --git a/app/src/main/resources/application-docker.yml b/app/src/main/resources/application-docker.yml new file mode 100644 index 0000000..1886f2c --- /dev/null +++ b/app/src/main/resources/application-docker.yml @@ -0,0 +1,21 @@ +server: + servlet: + context-path: /my-storage + port: 8081 +spring: + messages: + basename: messages + encoding: UTF-8 + datasource: + url: jdbc:postgresql://my-storage-db/my-storage + username: ${POSTGRES_USER} + password: ${POSTGRES_PASSWORD} + jpa: + database-platform: org.hibernate.dialect.PostgreSQLDialect + hibernate: + ddl-auto: validate + show-sql: false + flyway: + url: jdbc:postgresql://my-storage-db/my-storage + user: ${POSTGRES_USER} + password: ${POSTGRES_PASSWORD} \ No newline at end of file