Back

[SOLVED]Digital ocean one click setup, env file creation help.

  • 1
  • Self Hosted
  • Tools
KeekoDev
30 Dec, 2023, 04:15

I used the one click setup on digital ocean and when I loaded into the console and navigated to the appwrite folder I noticed there is no env file present and only the docker file.
Do I need to point appwrite at an env file if I upload one? If so how do I make sure it's using the env for configuration. If there's any documentation I may have missed please point me in the right direction!

TL;DR
The user had an issue with the Digital Ocean one-click setup and creating an env file. They didn't realize that hidden files exist in Unix systems. The solution was to use the command `ls -a` to see all files, including hidden ones. Additionally, the user mentioned setting global variables in the project settings but they didn't seem to apply after running `docker compose up -d`. There was no solution provided for this issue. The user also asked if they need to point Appwrite to an env file and how to ensure it uses the env file for configuration, and asked for documentation if any.
KeekoDev
30 Dec, 2023, 04:17

I should also mention I set the global variables in the project settings in the appwrite console and it seems like none of them applied after running docker compose up -d

Drake
30 Dec, 2023, 05:17

Those global variables have nothing to do with your .env file. They are for functions so that you don't need to define the same variable across multiple functions

Drake
30 Dec, 2023, 05:18

In Unix systems, files and folders that start with a dot are hidden. You can see all files and folders (including hidden) by using ls -a

KeekoDev
30 Dec, 2023, 05:32

Didn't even think about hidden files, not super well versed with unix systems. Thanks!

KeekoDev
30 Dec, 2023, 05:33

[SOLVED]Digital ocean one click setup, env file creation help.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more