Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions templates/django/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 500,
"default_memory": 512,
"min_recommended_memory": 512
"min_recommended_memory": 384
},
"default_env": [
{
Expand All @@ -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"
Expand Down
9 changes: 5 additions & 4 deletions templates/expressjs/config.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -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"
Expand Down
9 changes: 5 additions & 4 deletions templates/fastapi/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 500,
"default_memory": 512,
"min_recommended_memory": 512
"min_recommended_memory": 384
},
"default_env": [
{
Expand All @@ -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"
Expand Down
11 changes: 6 additions & 5 deletions templates/flask/config.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -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"
Expand Down
7 changes: 5 additions & 2 deletions templates/kotlin-spring-boot/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 4 additions & 3 deletions templates/mongodb/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 512,
"default_memory": 512,
"min_recommended_memory": 256
"min_recommended_memory": 512
},
"default_env": [
{
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions templates/mongodb/template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 5 additions & 3 deletions templates/mysql/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 512,
"default_memory": 512,
"min_recommended_memory": 256
"min_recommended_memory": 512
},
"default_env": [
{
Expand All @@ -28,7 +28,8 @@
"options": [
"8.0",
"8.4",
"9.0"
"9.0",
"9.1"
],
"type": "select",
"category": "required"
Expand All @@ -43,7 +44,8 @@
"latin1"
],
"type": "select",
"category": "required"
"category": "advanced",
"description": "데이터베이스 문자 인코딩. 대부분의 경우 utf8mb4(완전한 UTF-8) 사용을 권장합니다."
},
{
"default": "",
Expand Down
8 changes: 4 additions & 4 deletions templates/mysql/template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions templates/nestjs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 500,
"default_memory": 512,
"min_recommended_memory": 512
"min_recommended_memory": 384
},
"default_env": [
{
Expand All @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions templates/nextjs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 4 additions & 3 deletions templates/postgresql/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 500,
"default_memory": 512,
"min_recommended_memory": 512
"min_recommended_memory": 384
},
"default_env": [
{
Expand All @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions templates/react/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 5 additions & 3 deletions templates/redis/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default_resources": {
"default_cpu": 256,
"default_memory": 256,
"min_recommended_memory": 128
"min_recommended_memory": 256
},
"default_env": [
{
Expand All @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion templates/spring-boot/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
"label": "Java 버전",
"name": "java_version",
"options": [
"11",
"17",
"21"
"21",
"25"
],
"type": "select",
"category": "required"
Expand Down
4 changes: 2 additions & 2 deletions templates/static-html/config.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
5 changes: 3 additions & 2 deletions templates/vuejs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down