server.port= 8080
server.servlet.encoding.charset=utf-8
server.servlet.encoding.force=true
spring.datasource.url=jdbc:mariadb://43.201.213.167:3306/recode
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.username=develop
spring.datasource.password=1234
spring.jpa.open-in-view=false
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.default_batch_fetch_size=100
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.show-sql=true
spring.output.ansi.enabled=always
spring.security.oauth2.client.registration.google.client-id=423167952581-8rl9jst7q62ki0dbhl5eevtgfqs9t11u.apps.googleusercontent.com
spring.security.oauth2.client.registration.google.client-secret=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
spring.security.oauth2.client.registration.google.scope=profile,email
client-id=LL42_LNWSs0btVhjM7ne
client-secret=ChT35GrFy
cloud.aws.s3.bucket.name=upload-ckeditor
cloud.aws.s3.bucket.url=https://s3.ap-northeast-2.amazonaws.com/upload-ckeditor
cloud.aws.credentials.access-key=AKIA2F5WZNT4HWZKF46M
cloud.aws.credentials.secret-key=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
cloud.aws.region.static=ap-northeast-2
cloud.aws.region.auto=false
cloud.aws.stack.auto=false
sns.topic.arn=arn:aws:sns:ap-northeast-1:699926146296:aws-sns
cloud.sns.region=ap-northeast-1
mail.smtp.auth=true
mail.smtp.starttls.required=true
mail.smtp.starttls.enable=true
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false
mail.smtp.port=465
mail.smtp.socketFactory.port=465
# admin ?? ??
AdminMail.id = [email protected]
AdminMail.password = aexp pkeb nosl iejb
<aside> 🔥 volume name : properties
컨테이너 내부 마운트 경로 : -v properties:/recode-be/resources
</aside>
server {
listen 80;
server_name 52.79.108.89;
#access_log /var/log/nginx/host.access.log main;
root /usr/share/nginx/html/build;
index index.html index.htm;
location /api {
proxy_pass <http://52.79.108.89:8080>;
}
location / {
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
<aside> 🔥 volume name : config 컨테이너 내부 마운트 경로 : -v config:/etc/nginx/conf.d
</aside>