From 60b420abaa0890ae11c003d23e1311b3f561dda6 Mon Sep 17 00:00:00 2001 From: Sejeong Kim Date: Sun, 27 Oct 2024 17:04:39 +0900 Subject: [PATCH] chore: test --- .github/workflows/aws-cicd.yml | 2 +- .../infra/development/docker-compose.yaml | 20 ++++- .../infra/development/tokens/StoredCredential | Bin 0 -> 1130 bytes .../src/main/resources/application-aws.yml | 17 ++-- .../src/main/resources/application-dev.yml | 8 +- .../src/main/resources/application-local.yml | 27 +++--- layer-api/src/main/resources/application.yml | 81 +----------------- 7 files changed, 45 insertions(+), 110 deletions(-) create mode 100644 layer-api/infra/development/tokens/StoredCredential diff --git a/.github/workflows/aws-cicd.yml b/.github/workflows/aws-cicd.yml index 3276bf00..db93bb1b 100644 --- a/.github/workflows/aws-cicd.yml +++ b/.github/workflows/aws-cicd.yml @@ -25,7 +25,7 @@ jobs: if [[ "${GITHUB_REF}" == "refs/heads/main" ]]; then echo "DEPLOY_TARGET=production" >> $GITHUB_OUTPUT else - echo "DEPLOY_TARGET=aws" >> $GITHUB_OUTPUT + echo "DEPLOY_TARGET=dev" >> $GITHUB_OUTPUT fi build: diff --git a/layer-api/infra/development/docker-compose.yaml b/layer-api/infra/development/docker-compose.yaml index 5d664994..ff32dc53 100644 --- a/layer-api/infra/development/docker-compose.yaml +++ b/layer-api/infra/development/docker-compose.yaml @@ -1,12 +1,12 @@ services: java-app: - image: ghcr.io/depromeet/kasukabe-server/layer-api:latest + image: docker.io/clean01/layer-server_layer-api:latest container_name: layer-api ports: - "8080:8080" environment: - TZ=Asia/Seoul - - SPRING_PROFILES_ACTIVE=dev +# - SPRING_PROFILES_ACTIVE=aws volumes: - ./application-secret.properties:/config/application-secret.properties - ./log:/log @@ -14,6 +14,21 @@ services: networks: - app-network +# batch-job: +# image: docker.io/clean01/layer-server_layer-batch:latest +# container_name: layer-batch +# environment: +# - TZ=Asia/Seoul +# volumes: +# - ./application-secret.properties:/config/application-secret.properties +# - ./log:/log +# - ./tokens:/config/tokens +# networks: +# - app-network +# depends_on: +# - java-app +# restart: always + nginx: image: nginx:latest container_name: nginx @@ -28,4 +43,3 @@ services: networks: app-network: - driver: bridge diff --git a/layer-api/infra/development/tokens/StoredCredential b/layer-api/infra/development/tokens/StoredCredential new file mode 100644 index 0000000000000000000000000000000000000000..63b1c6c17b9026d421421e9725d098cde63b28b2 GIT binary patch literal 1130 zcma)5L66%+6rN;vp>!*>Z~zGjq^dn|sGZo`>=N}*yh)vSv7Jqvgv}xW6MO88V|$YE zOq>M7v8vQVi&XvqCqRq1!U-WR9Jp}hKr4ZSs)`dA)KkaVN?R_~jx_J`-uJ%uzWL_( zAFz>9@Ja}0Q05FraucQ_3r;p({Qak&U;FsCHBi*S`G`PIhb|-3057o-Md^q{-h6WX zU67v(**Oun#4Rwe&QnA=1;r2cj{klAzZcGR9~1$YPXJhZe0)Nux+InZLV^g%aDrtw z!YE-fk)Cs3|u_Pv z>kAb5xdJQtDfkQ&<`V|~SU|NZ!?NaDJBpe)i!>ct4ZXv7Fx20Vc-Qu~r@D?QuTFc? z_O9L1=uy9}br!XyPI^map+vFTt#wB?+P#6*$e5<}m!ThHR38t!3ki=?hZ}<~VG6F= z^_^B6WKPEolPq+$tyz6GHJW&24LVev#P&hiqmtq_ss?4?{1wlIVx zw1#%ou`^vVs|KwdE%u%CqoAY1UNQ}(YCl}KjrQ13!