From 14f7ac70cbcf869f7204c8d8cfee9684f10dd72c Mon Sep 17 00:00:00 2001 From: jinsu Date: Wed, 10 Dec 2025 15:27:16 +0900 Subject: [PATCH] deploy values --- deploy/nats.yaml | 10 ++++++++++ deploy/openweather.yaml | 10 ++++++++++ deploy/postgres.yaml | 13 +++++++++++++ deploy/seven-skies.yaml | 8 ++++++++ 4 files changed, 41 insertions(+) create mode 100644 deploy/nats.yaml create mode 100644 deploy/openweather.yaml create mode 100644 deploy/postgres.yaml create mode 100644 deploy/seven-skies.yaml diff --git a/deploy/nats.yaml b/deploy/nats.yaml new file mode 100644 index 0000000..bacc04a --- /dev/null +++ b/deploy/nats.yaml @@ -0,0 +1,10 @@ +image: docker.io/nats +args: + - -js + - -sd + - /data +ports: + - 4222 +volume: + enabled: true + path: /data diff --git a/deploy/openweather.yaml b/deploy/openweather.yaml new file mode 100644 index 0000000..97ee21d --- /dev/null +++ b/deploy/openweather.yaml @@ -0,0 +1,10 @@ +image: registry.neatflow.kr/weather/openweather:v0.0.1 +env: + - name: NATS_URL + value: nats://nats-app:4222 + - name: OPENWEATHER_API_KEY + value: "96385ecb4429f7c32893457c0e545b05" + - name: OPENWEATHER_LAT + value: "37.485090" + - name: OPENWEATHER_LON + value: "126.928031" diff --git a/deploy/postgres.yaml b/deploy/postgres.yaml new file mode 100644 index 0000000..b7b99e3 --- /dev/null +++ b/deploy/postgres.yaml @@ -0,0 +1,13 @@ +image: docker.io/postgres +ports: + - 5432 +volume: + enabled: true + path: /var/lib/postgresql +env: + - name: POSTGRES_DB + value: weather + - name: POSTGRES_USER + value: weather + - name: POSTGRES_PASSWORD + value: weather diff --git a/deploy/seven-skies.yaml b/deploy/seven-skies.yaml new file mode 100644 index 0000000..6c56a3d --- /dev/null +++ b/deploy/seven-skies.yaml @@ -0,0 +1,8 @@ +image: registry.neatflow.kr/weather/seven-skies:v0.0.2 +ports: + - 8080 +env: + - name: NATS_URL + value: nats://nats-app:4222 + - name: DATABASE_DSN + value: "host=postgres-app user=weather password=weather dbname=weather port=5432 sslmode=disable TimeZone=Asia/Seoul"