-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly.toml
47 lines (40 loc) · 1.3 KB
/
fly.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# fly.toml app configuration file generated for galv-backend-dev-debug on 2023-12-30T07:23:48Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "galv-backend-dev"
primary_region = "lhr"
console_command = "/code/backend_django/manage.py shell"
[build]
image = "ghcr.io/galv-team/galv-backend:latest"
[deploy]
# release_command = "/code/fly_setup.sh"
[env]
# PORT = "80"
VIRTUAL_HOST = "galv-backend-dev.fly.dev"
FRONTEND_VIRTUAL_HOST = "http://galv-frontend-dev.fly.dev,https://galv-frontend-dev.fly.dev"
DJANGO_SETTINGS_MODULE = "config.settings"
# DJANGO_SETTINGS = "dev"
DJANGO_EMAIL_HOST = 'smtp.gmail.com'
DJANGO_EMAIL_USE_TLS = "False"
DJANGO_EMAIL_PORT = "465"
DJANGO_EMAIL_USE_SSL = "True"
DJANGO_EMAIL_HOST_USER = '[email protected]'
DJANGO_DEFAULT_FROM_EMAIL = '[email protected]'
# AWS_ACCESS_KEY_ID = "AKIAZQ3DU5GQ7Y5V7TFJ"
# DJANGO_AWS_STORAGE_BUCKET_NAME = "galv"
# DJANGO_AWS_S3_REGION_NAME = "eu-west-2"
[http_service]
internal_port = 80
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 2048
#[[statics]]
# guest_path = "/static/"
# url_prefix = "/django_static/"