Skip to content

Commit a0f80e0

Browse files
authored
[DDING-000] Swagger version 명시 (#331)
1 parent 8dc55a1 commit a0f80e0

File tree

5 files changed

+10
-24
lines changed

5 files changed

+10
-24
lines changed

.ebextensions/00-makeFiles.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ files:
55
group: webapp
66
content: |
77
#!/usr/bin/env bash
8+
9+
ENV_FILE="/var/app/current/.env"
10+
/opt/elasticbeanstalk/bin/get-config environment | \
11+
jq -r 'to_entries | .[] | "\(.key)=\(.value)"' > "$ENV_FILE"
12+
chmod 600 "$ENV_FILE"
13+
chown webapp:webapp "$ENV_FILE"
14+
815
JAR_PATH=/var/app/current/application.jar
916
AGENT_PATH=/var/app/current/otel/opentelemetry-javaagent.jar
1017
LOG_DIR=/var/app/current/logs/gc

.ebextensions/04-create-env-file.config

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/prod-server-deployer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
cp -r alloy deploy/alloy
5757
cp -r .ebextensions deploy/.ebextensions
5858
cp -r .platform deploy/.platform
59+
cp -r otel deploy/otel
5960
cd deploy && zip -r deploy.zip .
6061
6162
# Beanstalk Deploy 플러그인 사용

alloy/config.alloy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ otelcol.receiver.otlp "default" {
192192

193193
otelcol.exporter.otlp "tempo" {
194194
client {
195-
endpoint = "http://3.39.151.102:4317/tempo/otlp"
195+
endpoint = "http://3.39.151.102:4317"
196196
tls {
197197
insecure = true
198198
}

src/main/java/ddingdong/ddingdongBE/common/config/OpenApiConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class OpenApiConfig {
1818
@Bean
1919
public OpenAPI openApi() {
2020
return new OpenAPI()
21+
.openapi("3.0.1")
2122
.components(securityComponents())
2223
.servers(List.of(new Server().url(serverUrl)));
2324
}

0 commit comments

Comments
 (0)