diff --git a/backend/.env.production b/backend/.env.production index 96cf492..d999342 100644 --- a/backend/.env.production +++ b/backend/.env.production @@ -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, # forgot-password emails, and logos that needs to be publicly available on the internet. ["/"] # 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] # "fatal", "error", "warn", "info", "debug", "trace", "silent" diff --git a/docker-compose.yml b/docker-compose.yml index decf44a..a23d72a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,7 @@ services: labels: caddy: admin.pca-pijac.dev.civokram.com 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: image: node:lts-bookworm @@ -38,4 +38,4 @@ services: labels: caddy: pca-pijac.dev.civokram.com 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"