dadatuputi / bitwarden_gcloud

Bitwarden installation optimized for Google Cloud's 'always free' e2-micro compute instance
https://bradford.la/2020/self-host-bitwarden-on-google-cloud/
MIT License
344 stars 79 forks source link

.env file guide #86

Open snigapoe opened 6 days ago

snigapoe commented 6 days ago

Anyone can guide me on how to edit the env file? Can this be done via console as well?

rlan commented 5 days ago

@snigapoe Just want to check that you have seen the wiki: https://github.com/dadatuputi/bitwarden_gcloud/wiki/Installation#configure-environmental-variables-with-env

It's a starting point, then the comments in the .env.template should guide further.

.env.template is a text file, so an editor like vi or nano will do editing just fine.

snigapoe commented 5 days ago

ya but how do i upload back the edited file into google cloud, i cant seems to find where those file are stroe

rlan commented 5 days ago

Try here: https://cloud.google.com/compute/docs/instances/transfer-files Edit: Your .env file should be in the same folder as docker-compose.yml

dadatuputi commented 3 days ago

@snigapoe The most straightforward way is to SSH or use the Google Cloud Console to get a shell, then as @rlan suggested use vi or nano to edit the file in situ.