1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-12-03 12:31:39 +00:00
bramw_baserow/.env.dev.example
2024-05-24 07:16:57 +00:00

32 lines
1.1 KiB
Plaintext

# 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