|
|
@@ -1,12 +1,72 @@
|
|
|
-[www]
|
|
|
+[php_fpm]
|
|
|
+192.168.0.11
|
|
|
+192.168.0.12
|
|
|
|
|
|
+[db]
|
|
|
+192.168.0.21
|
|
|
+
|
|
|
+[redis]
|
|
|
+192.168.0.22
|
|
|
+
|
|
|
+[others]
|
|
|
+192.168.1.99
|
|
|
+
|
|
|
+[redis:vars]
|
|
|
+
|
|
|
+[php_fpm:vars]
|
|
|
+app_php_version="8.2"
|
|
|
+app_php_fpm_port=9090
|
|
|
+
|
|
|
+[building]
|
|
|
+localhost ansible_connection="local"
|
|
|
|
|
|
[all:vars]
|
|
|
-; openssl rand -base64 32
|
|
|
-app_secret_key="4i3WKUvKtSGl59htK7XjUNsjalhkG5s7RJCmZruT2m4="
|
|
|
-; php artisan key:generate --show
|
|
|
-app_laravel_key="base64:IQD4vkmAN1oEsc8rVu1nRadQWPUX/LH/jaSbyFbmf/w="
|
|
|
-app_postgresql_host="db-hk-1.wikipali.org"
|
|
|
-app_postgresql_port=5433
|
|
|
-app_postgresql_password=change-me
|
|
|
-app_redis_host="ch-hk-1.wikipali.org"
|
|
|
+app_deploy_env="staging"
|
|
|
+app_deploy_root="/var/www/mint-{{ app_deploy_env }}"
|
|
|
+
|
|
|
+# su www-data -pc "php artisan key:generate"
|
|
|
+# su www-data -pc "php artisan config:cache"
|
|
|
+app_secret_key="change-me"
|
|
|
+
|
|
|
+app_domain="staging.change-me.org"
|
|
|
+app_postgresql_host="192.168.0.21"
|
|
|
+app_postgresql_port=5432
|
|
|
+app_postgresql_user=www
|
|
|
+app_postgresql_password="change-me"
|
|
|
+app_postgresql_dbname="mint_staging_20231108"
|
|
|
+
|
|
|
+app_snowflake_worker_id=1
|
|
|
+app_snowflake_data_center_id=1
|
|
|
+
|
|
|
+app_redis_host="192.168.0.31"
|
|
|
+app_redis_port=6371
|
|
|
+app_redis_cache_host="192.168.0.39"
|
|
|
+app_redis_cache_port=6379
|
|
|
+app_redis_cache_db=3
|
|
|
+
|
|
|
+app_smtp_host="smtp.gmail.com"
|
|
|
+app_smtp_port=465
|
|
|
+app_smtp_user="who-am-i@gmail.com"
|
|
|
+app_smtp_password="change-me"
|
|
|
+
|
|
|
+app_assets_server="https://assets.change-me.org"
|
|
|
+app_rpc_server="https://rpc.change-me.org"
|
|
|
+app_documents_server="https://documents.change-me.org"
|
|
|
+
|
|
|
+app_rabbitmq_host="192.168.0.41"
|
|
|
+app_rabbitmq_port=5672
|
|
|
+app_rabbitmq_user="www"
|
|
|
+app_rabbitmq_password="change-me"
|
|
|
+app_rabbitmq_virtual_host="mint-staging"
|
|
|
+
|
|
|
+app_aws_access_key="change-me"
|
|
|
+app_aws_secret_key="change-me"
|
|
|
+app_aws_region="us-east-1"
|
|
|
+app_aws_endpoint_domain="change-me.org"
|
|
|
+
|
|
|
+app_icp_code=""
|
|
|
+app_cors_allowed_origins=https://www.change-me.org
|
|
|
+app_questionnaire_link="https://wj.qq.com/change-me/"
|
|
|
+
|
|
|
+app_cdn_urls=https://www.change-me.org/downloads
|
|
|
+app_attachments_bucket_name=attachments-staging
|