diff --git a/templates/django/config.json b/templates/django/config.json index bfeebf1..e9a3ee0 100644 --- a/templates/django/config.json +++ b/templates/django/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 500, "default_memory": 512, - "min_recommended_memory": 512 + "min_recommended_memory": 384 }, "default_env": [ { @@ -22,14 +22,15 @@ ], "template_options": [ { - "default": "3.11", + "default": "3.12", "label": "Python 버전", "name": "python_version", "options": [ - "3.9", "3.10", "3.11", - "3.12" + "3.12", + "3.13", + "3.14" ], "type": "select", "category": "required" diff --git a/templates/expressjs/config.json b/templates/expressjs/config.json index 33f0f6f..df5af99 100644 --- a/templates/expressjs/config.json +++ b/templates/expressjs/config.json @@ -1,8 +1,8 @@ { "default_resources": { "default_cpu": 500, - "default_memory": 512, - "min_recommended_memory": 512 + "default_memory": 256, + "min_recommended_memory": 256 }, "default_env": [ { @@ -16,13 +16,14 @@ }, "template_options": [ { - "default": "20", + "default": "24", "label": "Node.js 버전", "name": "node_version", "options": [ "18", "20", - "22" + "22", + "24" ], "type": "select", "category": "required" diff --git a/templates/fastapi/config.json b/templates/fastapi/config.json index 7b33813..0fd1132 100644 --- a/templates/fastapi/config.json +++ b/templates/fastapi/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 500, "default_memory": 512, - "min_recommended_memory": 512 + "min_recommended_memory": 384 }, "default_env": [ { @@ -18,14 +18,15 @@ ], "template_options": [ { - "default": "3.11", + "default": "3.12", "label": "Python 버전", "name": "python_version", "options": [ - "3.9", "3.10", "3.11", - "3.12" + "3.12", + "3.13", + "3.14" ], "type": "select", "category": "required" diff --git a/templates/flask/config.json b/templates/flask/config.json index 9389312..fe46597 100644 --- a/templates/flask/config.json +++ b/templates/flask/config.json @@ -1,8 +1,8 @@ { "default_resources": { "default_cpu": 500, - "default_memory": 512, - "min_recommended_memory": 512 + "default_memory": 256, + "min_recommended_memory": 256 }, "default_env": [ { @@ -22,14 +22,15 @@ ], "template_options": [ { - "default": "3.11", + "default": "3.12", "label": "Python 버전", "name": "python_version", "options": [ - "3.9", "3.10", "3.11", - "3.12" + "3.12", + "3.13", + "3.14" ], "type": "select", "category": "required" diff --git a/templates/kotlin-spring-boot/config.json b/templates/kotlin-spring-boot/config.json index 468dca4..b18b718 100644 --- a/templates/kotlin-spring-boot/config.json +++ b/templates/kotlin-spring-boot/config.json @@ -15,11 +15,14 @@ "label": "Java 버전", "name": "java_version", "options": [ + "11", "17", - "21" + "21", + "25" ], "type": "select", - "category": "required" + "category": "required", + "description": "Kotlin은 JVM에서 실행되므로 Java 런타임 버전이 필요합니다. Kotlin 버전은 build.gradle.kts에서 설정하세요." }, { "default": "8.5", diff --git a/templates/mongodb/config.json b/templates/mongodb/config.json index c234282..1047551 100644 --- a/templates/mongodb/config.json +++ b/templates/mongodb/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 512, "default_memory": 512, - "min_recommended_memory": 256 + "min_recommended_memory": 512 }, "default_env": [ { @@ -22,12 +22,13 @@ ], "template_options": [ { - "default": "7.0", + "default": "8.0", "label": "MongoDB 버전", "name": "mongo_version", "options": [ "6.0", - "7.0" + "7.0", + "8.0" ], "type": "select", "category": "required" diff --git a/templates/mongodb/template.tmpl b/templates/mongodb/template.tmpl index 2117408..de33ce9 100644 --- a/templates/mongodb/template.tmpl +++ b/templates/mongodb/template.tmpl @@ -4,9 +4,9 @@ ENV MONGO_INITDB_ROOT_USERNAME={{ .root_username }} ENV MONGO_INITDB_ROOT_PASSWORD={{ .root_password }} ENV MONGO_INITDB_DATABASE={{ .database_name }} -{{ if and .app_username .app_password -}} -RUN echo 'db.getSiblingDB("{{ .database_name }}").createUser({user: "{{ .app_username }}", pwd: "{{ .app_password }}", roles: [{role: "readWrite", db: "{{ .database_name }}"}]})' > /docker-entrypoint-initdb.d/01-create-user.js -{{- end }} +{{ with .app_username }}{{ with $.app_password -}} +RUN echo 'db.getSiblingDB("{{ $.database_name }}").createUser({user: "{{ $.app_username }}", pwd: "{{ $.app_password }}", roles: [{role: "readWrite", db: "{{ $.database_name }}"}]})' > /docker-entrypoint-initdb.d/01-create-user.js +{{- end }}{{ end }} EXPOSE 27017 diff --git a/templates/mysql/config.json b/templates/mysql/config.json index 84cd65a..16f8e88 100644 --- a/templates/mysql/config.json +++ b/templates/mysql/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 512, "default_memory": 512, - "min_recommended_memory": 256 + "min_recommended_memory": 512 }, "default_env": [ { @@ -28,7 +28,8 @@ "options": [ "8.0", "8.4", - "9.0" + "9.0", + "9.1" ], "type": "select", "category": "required" @@ -43,7 +44,8 @@ "latin1" ], "type": "select", - "category": "required" + "category": "advanced", + "description": "데이터베이스 문자 인코딩. 대부분의 경우 utf8mb4(완전한 UTF-8) 사용을 권장합니다." }, { "default": "", diff --git a/templates/mysql/template.tmpl b/templates/mysql/template.tmpl index 2a4b92b..d0ee896 100644 --- a/templates/mysql/template.tmpl +++ b/templates/mysql/template.tmpl @@ -16,10 +16,10 @@ RUN echo "[mysqld]" > /etc/mysql/conf.d/custom.cnf && \ echo "innodb_buffer_pool_size={{ .innodb_buffer_pool_size }}" >> /etc/mysql/conf.d/custom.cnf{{ end }}{{ if .max_allowed_packet }} && \ echo "max_allowed_packet={{ .max_allowed_packet }}" >> /etc/mysql/conf.d/custom.cnf{{ end }} -{{ if and .app_username .app_password -}} -ENV MYSQL_USER={{ .app_username }} -ENV MYSQL_PASSWORD={{ .app_password }} -{{- end }} +{{ with .app_username }}{{ with $.app_password -}} +ENV MYSQL_USER={{ $.app_username }} +ENV MYSQL_PASSWORD={{ $.app_password }} +{{- end }}{{ end }} EXPOSE 3306 diff --git a/templates/nestjs/config.json b/templates/nestjs/config.json index 89d08e7..579eb68 100644 --- a/templates/nestjs/config.json +++ b/templates/nestjs/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 500, "default_memory": 512, - "min_recommended_memory": 512 + "min_recommended_memory": 384 }, "default_env": [ { @@ -16,13 +16,14 @@ }, "template_options": [ { - "default": "20", + "default": "24", "label": "Node.js 버전", "name": "node_version", "options": [ "18", "20", - "22" + "22", + "24" ], "type": "select", "category": "required" diff --git a/templates/nextjs/config.json b/templates/nextjs/config.json index 6374206..fbb8f9d 100644 --- a/templates/nextjs/config.json +++ b/templates/nextjs/config.json @@ -16,13 +16,14 @@ }, "template_options": [ { - "default": "20", + "default": "24", "label": "Node.js 버전", "name": "node_version", "options": [ "18", "20", - "22" + "22", + "24" ], "type": "select", "category": "required" diff --git a/templates/postgresql/config.json b/templates/postgresql/config.json index f5e5ac4..c2f54d3 100644 --- a/templates/postgresql/config.json +++ b/templates/postgresql/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 500, "default_memory": 512, - "min_recommended_memory": 512 + "min_recommended_memory": 384 }, "default_env": [ { @@ -26,14 +26,15 @@ ], "template_options": [ { - "default": "16", + "default": "17", "label": "PostgreSQL 버전", "name": "version", "options": [ "14", "15", "16", - "17" + "17", + "18" ], "type": "select", "category": "required" diff --git a/templates/react/config.json b/templates/react/config.json index ae3aa56..ed9d9cb 100644 --- a/templates/react/config.json +++ b/templates/react/config.json @@ -18,13 +18,14 @@ ], "template_options": [ { - "default": "20", + "default": "24", "label": "Node.js 버전", "name": "node_version", "options": [ "18", "20", - "22" + "22", + "24" ], "type": "select", "category": "required" diff --git a/templates/redis/config.json b/templates/redis/config.json index 9faf1cd..9452967 100644 --- a/templates/redis/config.json +++ b/templates/redis/config.json @@ -2,7 +2,7 @@ "default_resources": { "default_cpu": 256, "default_memory": 256, - "min_recommended_memory": 128 + "min_recommended_memory": 256 }, "default_env": [ { @@ -18,12 +18,14 @@ ], "template_options": [ { - "default": "7.2", + "default": "8.0", "label": "Redis 버전", "name": "redis_version", "options": [ "7.0", - "7.2" + "7.2", + "8.0", + "8.2" ], "type": "select", "category": "required" diff --git a/templates/spring-boot/config.json b/templates/spring-boot/config.json index 5502268..af85603 100644 --- a/templates/spring-boot/config.json +++ b/templates/spring-boot/config.json @@ -15,8 +15,10 @@ "label": "Java 버전", "name": "java_version", "options": [ + "11", "17", - "21" + "21", + "25" ], "type": "select", "category": "required" diff --git a/templates/static-html/config.json b/templates/static-html/config.json index ff53d4a..7255bd6 100644 --- a/templates/static-html/config.json +++ b/templates/static-html/config.json @@ -1,8 +1,8 @@ { "default_resources": { - "default_cpu": 500, + "default_cpu": 256, "default_memory": 128, - "min_recommended_memory": 128 + "min_recommended_memory": 64 }, "default_env": [], "default_ports": [ diff --git a/templates/vuejs/config.json b/templates/vuejs/config.json index 090f124..c7ee5c2 100644 --- a/templates/vuejs/config.json +++ b/templates/vuejs/config.json @@ -18,13 +18,14 @@ ], "template_options": [ { - "default": "20", + "default": "24", "label": "Node.js 버전", "name": "node_version", "options": [ "18", "20", - "22" + "22", + "24" ], "type": "select", "category": "required"