@@ -48,35 +48,46 @@ flaskapp_app_packages:
48
48
- python-dev
49
49
- python-virtualenv
50
50
- libpq-dev
51
- - python-psycopg2
52
51
- build-essential
53
52
54
53
# Additional system packages required by your application
55
54
flaskapp_additional_app_packages :
56
55
57
56
# Install `nodejs` and required package dependencies via `npm`?
58
- flaskapp_app_requires_npm : no
57
+ flaskapp_app_requires_npm : false
59
58
60
59
# Install frontend package dependencies via `bower`?
61
- flaskapp_app_requires_bower : no
60
+ flaskapp_app_requires_bower : false
62
61
63
62
# Install and configure Postgresql
64
63
flaskapp_use_postgresql : true
65
64
66
- # Defines if migrations should be run (via Flask-Migrate)
67
- flaskapp_run_migrations : false
65
+ # Postgresql db user
66
+ flaskapp_postgresql_user : {{ flaskapp_name }}
68
67
69
- # Set to true if you want to use a custom supervisor config (you need to provisioning it by yourself)
70
- flaskapp_use_custom_supervisor_conf : false
68
+ # Postgresql db password
69
+ flaskapp_postgresql_pasword : xxxxx
71
70
72
- # Set to true if you want to use a custom nginx config (you need to provisioning it by yourself)
73
- flaskapp_use_custom_nginx_conf : false
71
+ # Postgresql db table name
72
+ flaskapp_postgresql_table : {{ flaskapp_name }}
74
73
75
- # Set to true if you want to use a custom startup script used by supervisor (you need to provisioning it by yourself)
76
- flaskapp_use_custom_start_script : false
74
+ # Defines if migrations should be run during deployment (via Flask-Migrate)
75
+ flaskapp_run_migrations : false
76
+
77
+ # Directory with migrations scripts
78
+ flaskapp_migrations_dir : ../migrations
77
79
78
80
# Nginx server name
79
81
flaskapp_nginx_server_name : {{ flaskapp_name }}.domain.com
80
82
81
83
# Directory with static files served directly by Nginx
82
84
flaskapp_nginx_static_dir : {{ flaskapp_app_directory }}/static/
85
+
86
+ # Set to true if you want to use a custom nginx config (you need to provisioning it by yourself)
87
+ flaskapp_use_custom_nginx_conf : false
88
+
89
+ # Set to true if you want to use a custom supervisor config (you need to provisioning it by yourself)
90
+ flaskapp_use_custom_supervisor_conf : false
91
+
92
+ # Set to true if you want to use a custom startup script used by supervisor (you need to provisioning it by yourself)
93
+ flaskapp_use_custom_start_script : false
0 commit comments