Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .github/workflows/cd.yml
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions src/main/java/flipnote/group/domain/model/BaseEntity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package flipnote.group.domain.model;

public abstract class BaseEntity {
}
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added src/main/proto/group.proto
Empty file.
1 change: 0 additions & 1 deletion src/main/resources/application.properties

This file was deleted.

46 changes: 46 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
spring:
application:
name: flipnote

datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${SPRING_DATASOURCE_URL}
username: ${SPRING_DATASOURCE_USERNAME}
password: ${SPRING_DATASOURCE_PASSWORD}

jpa:
open-in-view: false
hibernate:
ddl-auto: update

data:
redis:
host: ${SPRING_DATA_REDIS_HOST}
password: ${SPRING_DATA_REDIS_PASSWORD:}
port: ${SPRING_DATA_REDIS_PORT}


cloud:
aws:
bucket: ${S3_BUCKET_NAME}
region: ${S3_BUCKET_REGION}
credentials:
access-key: ${S3_ACCESS_KEY}
secret-key: ${S3_SECRET_KEY}
stack:
auto: false


image-clean:
batch-size: 300
orphan-grace-minutes: 10

image:
default:
user: https://flipnote-bucket.s3.ap-northeast-2.amazonaws.com/image/default/user.png
group: https://flipnote-bucket.s3.ap-northeast-2.amazonaws.com/image/default/group.png
cardSet: https://flipnote-bucket.s3.ap-northeast-2.amazonaws.com/image/default/cardset.png

logging:
level:
flipnote.image: DEBUG
29 changes: 29 additions & 0 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
spring:
datasource:
url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1
driver-class-name: org.h2.Driver
username: sa
password:

jpa:
hibernate:
ddl-auto: create-drop

properties:
hibernate:
show_sql: true
format_sql: true
use_sql_comments: true

data:
redis:
host: localhost
port: 6379

cloud:
aws:
region: dummy_bucket_region
credentials:
access-key: dummy_access_key
secret-key: dummy_secret_key
bucket: dummy_bucket