-
-
Notifications
You must be signed in to change notification settings - Fork 271
/
.env.dev.example
31 lines (24 loc) · 1.14 KB
/
.env.dev.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# An example .env file for use with
# `docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d`.
#
# DO NOT USE THIS FILE IN PRODUCTION. ONLY USE THIS FOR LOCAL DEVELOPMENT.
SECRET_KEY=baserow
DATABASE_PASSWORD=baserow
REDIS_PASSWORD=baserow
# You can find your uid and gid by running the `id` command.
UID=replace me with your uid
GID=replace me with your gid
# Do not edit the following override, it is required to work with docker-compose.dev.yml.
BASEROW_PUBLIC_URL=
# In the Dev environment we set the next two variables to force the Caddy reverse proxy
# onto an unused port. We only want to use Caddy to serve media files and not act
# as a reverse proxy between your browser and Baserow.
WEB_FRONTEND_PORT=4000
WEB_FRONTEND_SSL_PORT=4443
PUBLIC_BACKEND_URL=http://localhost:8000
PUBLIC_WEB_FRONTEND_URL=http://localhost:3000
# If you change WEB_FRONTEND_PORT above you also need the change the 4000 here to match.
MEDIA_URL=http://localhost:4000/media/
# Optional PostgreSQL config for better performance
POSTGRES_DEV_EXTRA_ARGS="-c shared_buffers=512MB -c fsync=off -c full_page_writes=off -c synchronous_commit=off"
POSTGRES_IMAGE_VERSION=12