Deployment added.

This commit is contained in:
2026-09-02 17:45:38 +00:00
parent 1a9c69fc9d
commit c078745bc0
15 changed files with 235 additions and 18 deletions
+6
View File
@@ -0,0 +1,6 @@
NODE_ENV=production
PORT=3000
HOST=0.0.0.0
PB_DATA_DIR=/app/pb_data
PB_ADMIN_EMAIL={{ pb_admin_email }}
PB_ADMIN_PASSWORD={{ pb_admin_password }}
+20
View File
@@ -0,0 +1,20 @@
{{ host }}{% if apex_host is defined and apex_host %}, {{ apex_host }}{% endif %} {
# PocketBase Admin UI and REST API
handle /_/* {
reverse_proxy {{ container_name }}:8090
}
handle /api/* {
reverse_proxy {{ container_name }}:8090
}
# TanStack Start Frontend Application
handle {
reverse_proxy {{ container_name }}:3000
}
}
{% if admin_host is defined and admin_host %}
{{ admin_host }} {
reverse_proxy {{ container_name }}:8090
}
{% endif %}