Skip to content

Beautiful Open-Source Form Builder

Add .env docker explanation in readme

Julien Nahum0b3fe439898e
diff --git a/README.md b/README.md
index 80a9dacda..4e0eb087a 100644
--- a/README.md
+++ b/README.md
@@ -69,8 +69,6 @@ It takes 1 minute to try out the builder for free. You'll have high availability
### Docker installation 🐳
-> ⚠️ **Warning**: the Docker setup is currently not working as we're migrating the front-end to Nuxt. [Track progress here](https://github.com/JhumanJ/OpnForm/issues/283).
-
This can be built and run locally but is also hosted publicly on docker hub at `jhumanj/opnform` and is generally best run directly from there.
#### Running from docker hub
@@ -79,7 +77,10 @@ This can be built and run locally but is also hosted publicly on docker hub at `
docker run --name opnform -v $PWD/my-opnform-data:/persist -p 80:80 jhumanj/opnform
```
-You should now be able to access the application by visiting http://localhost in a web browser.
+You should now be able to access the application by visiting http://localhost in a web browser.
+
+> 👀 **Server Deployment**: If you are deploying OpnForm on a server (not locally), then you will [need to use 2 .env files](https://github.com/JhumanJ/opnform?tab=readme-ov-file#using-custom-env-files) to configure the app URLs (`APP_URL` in `.env` and both `NUXT_PUBLIC_APP_URL` & `NUXT_PUBLIC_API_BASE` in `client/.env`).
+
The `-v` argument creates a local directory called `my-opnform-data` which will store your database and files so that your work is not lost when you restart the container.