-
Notifications
You must be signed in to change notification settings - Fork 4
Porting Manual
김경원 edited this page Nov 18, 2021
·
5 revisions
- Unity : 2020.3.21f1 (안드로이드 전용)
- Java : JavaSE-11
- SpringBoot
- JPA : 2.5.3
- Hibernate : 5.4.32
- MySQL
- NGINX : 1.18.0
- Redis : Linux(6.2.2-alpine)/Windows(3.2.100)
- Firebase
- Naver Reverse Geocoding API
- Firebase Google Auth
- application.yml
server:
servlet:
context-path: /api
spring:
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
url: {mysql URL}
username: {mysql.username}
password: {mysql.password}
jpa:
database-platform: org.hibernate.dialect.MySQL8Dialect
properties:
hibernate:
show_sql: true
cache:
type: redis
redis:
time-to-live: {reids.ttl}
redis:
host: 127.0.0.1
port: {redis.port}
password: {redis.password}
firebase:
route: {firebase 키 파일}
Naver:
geocode:
id: {Naver-Geocode-Id}
key: {Naver-Geocode-key}
springdoc:
version: 1.0
api-docs:
path: /api-docs
default-consumes-media-type: application/json
default-produces-media-type: application/json
swagger-ui:
operations-sorter: alpha
tags-sorter: alpha
path: /swagger
disable-swagger-default-url: true
display-query-params-without-oauth2: true
paths-to-match:
- /**
- Docker 구조
┬─ docker-compose.yml : docker-compose 설정 파일, `spring`, `redis`, `nginx`관련 볼륨 설정이 들어가 있음
├─ firebase : firebase 키 값 저장 장소
├─ mysql : mysql의 데이터를 저장할 볼륨 장소
├─ nginx ─ nginx.conf: nginx 관련 설정이 들어감. Request와 Response를 중개하는 Proxy 서버
├─ proxy ─ proxy.conf: nginx의 proxy 관련 설정이 들어간 폴더,
└─ redis : redis의 데이터를 저장할 볼륨 장소