Deployment added.
This commit is contained in:
@@ -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 }}
|
||||
@@ -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 %}
|
||||
Reference in New Issue
Block a user