|
1 |
| -#API_URL=http://127.17.0.1:8000/ |
2 |
| -#API_CLIENT_ID="" |
3 |
| -#API_CLIENT_SECRET="" |
| 1 | +PORT=8443 |
| 2 | + |
| 3 | +# ---------------------------- # |
| 4 | +# REQUIRED LOCAL ENV VARIABLES # |
| 5 | +# ---------------------------- # |
| 6 | +# DEPLOYMENT_ENV=local |
| 7 | +# SITE_DOMAIN=localhost |
| 8 | +# SITE_URL=http://localhost:8443 |
| 9 | +#/** |
| 10 | +#* We rely on the Nginx container running as `frontend_nginx` |
| 11 | +#* in the local compose stack to proxy requests. Therefore, the |
| 12 | +#* URL here is not for the Plausible container in the local stack, |
| 13 | +#* but the Nginx service, which then itself forwards the requests |
| 14 | +#* to the local Plausible instance. |
| 15 | +#* |
| 16 | +#* In production, the Nginx container is handling all requests |
| 17 | +#* made to the root URL (openverse.org), and is configured to |
| 18 | +#* forward Plausible requests to upstream Plausible. |
| 19 | +#*/ |
| 20 | +# PLAUSIBLE_SITE_URL = http://localhost:50290 |
| 21 | + |
| 22 | +# ---------------------------- # |
| 23 | +# OPTIONAL LOCAL ENV VARIABLES |
| 24 | +# ---------------------------- # |
| 25 | +### API settings |
| 26 | + |
| 27 | +# NUXT_PUBLIC_API_URL=http://127.17.0.1:8000/ # local dev API |
| 28 | +# NUXT_PUBLIC_API_URL=http://localhost:49153/ # talkback proxy |
| 29 | +# NUXT_PUBLIC_API_URL=https://api.openverse.org/# prod API |
| 30 | + |
| 31 | +# NUXT_API_CLIENT_ID="" |
| 32 | +# NUXT_API_CLIENT_SECRET="" |
| 33 | + |
| 34 | +# -------------------- # |
| 35 | +# PRODUCTION VARIABLES # |
| 36 | +# -------------------- # |
| 37 | +# DEPLOYMENT_ENV=production |
| 38 | +# NUXT_API_CLIENT_ID="" |
| 39 | +# NUXT_API_CLIENT_SECRET="" |
| 40 | +# NUXT_PUBLIC_API_URL=https://api.openverse.org/ |
| 41 | +# NUXT_PUBLIC_SENTRY_DSN="" |
| 42 | +# NUXT_PUBLIC_SENTRY_RELEASE="" |
| 43 | +# SITE_URL=https://openverse.org |
| 44 | +# SITE_DOMAIN=openverse.org |
| 45 | +# PLAUSIBLE_SITE_URL=https://openverse.org |
| 46 | + |
| 47 | +# ----------------- # |
| 48 | +# STAGING VARIABLES # |
| 49 | +# ----------------- # |
| 50 | +# DEPLOYMENT_ENV=staging |
| 51 | +# NUXT_API_CLIENT_ID="" |
| 52 | +# NUXT_API_CLIENT_SECRET="" |
| 53 | +# NUXT_PUBLIC_API_URL=https://api-staging.openverse.org/ |
| 54 | +# NUXT_PUBLIC_SENTRY_DSN="" |
| 55 | +# NUXT_PUBLIC_SENTRY_RELEASE="" |
| 56 | +# SITE_URL=https://staging.openverse.org |
| 57 | +# SITE_DOMAIN=staging.openverse.org |
| 58 | +# PLAUSIBLE_SITE_URL=https://staging.openverse.org |
0 commit comments