Remove .env in prod
This commit is contained in:
@@ -23,7 +23,7 @@ PORT=8055
|
|||||||
# The URL where your API can be reached on the web. It is also used for things like OAuth redirects,
|
# The URL where your API can be reached on the web. It is also used for things like OAuth redirects,
|
||||||
# forgot-password emails, and logos that needs to be publicly available on the internet. ["/"]
|
# forgot-password emails, and logos that needs to be publicly available on the internet. ["/"]
|
||||||
# PUBLIC_URL=http://localhost:8055
|
# PUBLIC_URL=http://localhost:8055
|
||||||
PUBLIC_URL=http://admin.dev.civokram.com
|
PUBLIC_URL=https://admin.dev.civokram.com
|
||||||
|
|
||||||
# What level of detail to log. [info]
|
# What level of detail to log. [info]
|
||||||
# "fatal", "error", "warn", "info", "debug", "trace", "silent"
|
# "fatal", "error", "warn", "info", "debug", "trace", "silent"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
caddy: admin.pca-pijac.dev.civokram.com
|
caddy: admin.pca-pijac.dev.civokram.com
|
||||||
caddy.reverse_proxy: '{{upstreams 18055}}'
|
caddy.reverse_proxy: '{{upstreams 18055}}'
|
||||||
command: sh -c "npm i -g pnpm && cd /app && pnpm install --production && pnpm run start"
|
command: sh -c "npm i -g pnpm && cd /app && pnpm install --production && rm .env && pnpm run start"
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: node:lts-bookworm
|
image: node:lts-bookworm
|
||||||
@@ -38,4 +38,4 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
caddy: pca-pijac.dev.civokram.com
|
caddy: pca-pijac.dev.civokram.com
|
||||||
caddy.reverse_proxy: '{{upstreams 13000}}'
|
caddy.reverse_proxy: '{{upstreams 13000}}'
|
||||||
command: sh -c "npm i -g pnpm && cd /app && pnpm install --production && sleep 10 && pnpm run build && pnpm run start"
|
command: sh -c "npm i -g pnpm && cd /app && pnpm install --production && sleep 10 && rm .env && pnpm run build && pnpm run start"
|
||||||
|
|||||||
Reference in New Issue
Block a user