diff --git a/{{cookiecutter.project_slug}}/fly.toml b/{{cookiecutter.project_slug}}/fly.toml index efa646e..a7a7287 100644 --- a/{{cookiecutter.project_slug}}/fly.toml +++ b/{{cookiecutter.project_slug}}/fly.toml @@ -10,7 +10,7 @@ primary_region = 'ams' dockerfile = 'docker/Dockerfile' [http_service] - internal_port = 8888 + internal_port = {% if cookiecutter.app_type == 'fastapi' %}8008{% else %}8888{% endif %} force_https = true auto_stop_machines = 'stop' auto_start_machines = true diff --git "a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/deployment/main_1_{% if \"nats\" in cookiecutter.app_type %}nats{% else %}fastapi{% endif %}.py" "b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/deployment/main_1_{% if \"nats\" in cookiecutter.app_type %}nats{% else %}fastapi{% endif %}.py" index 282c942..d3b17eb 100644 --- "a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/deployment/main_1_{% if \"nats\" in cookiecutter.app_type %}nats{% else %}fastapi{% endif %}.py" +++ "b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/deployment/main_1_{% if \"nats\" in cookiecutter.app_type %}nats{% else %}fastapi{% endif %}.py" @@ -38,8 +38,8 @@