arthurgeek/vaultwarden-fly-template

.config.env not work

Closed this issue · 5 comments

for example: I set ADMIN_TOKEN

# https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page
ADMIN_TOKEN=xxxxxx
image

Can you run task fly:secrets:set and see if it works? This will run the following command: https://github.com/arthurgeek/vaultwarden-fly-template/blob/main/.taskfiles/fly/secrets.yaml#L7

I also just added the command above to run before any (local) deployments and a new FAQ here: 07309b1.

I delete all apps in fly.io, and deploy again, and I get a blank web page, maybe something in secrets cause this, because the secrets is not exists on my first deploy

image

a blank web page
image

Yes, the secrets wouldn't exist in the first deployment if made before previously mentioned commit. This was fixed yesterday. If you updated the template after the commit above, everything should work. You can also run the command I mentioned, it should work even without yesterday's commit.

Closing as stale. Please reopen in case it's still not working.