This repository was archived by the owner on Apr 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker.env.sample
More file actions
43 lines (36 loc) · 1.36 KB
/
docker.env.sample
File metadata and controls
43 lines (36 loc) · 1.36 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
# ------------------------------------------------------------------------------
# Docker development mode
# ------------------------------------------------------------------------------
# All components runs from from Docker Compose.
# Copy as 'docker.env' and customize.
# --- Api image ---
# Intentionally invalid S3 config to prevent mutating real buckets
BOBU_BUCKET=s3-is-mocked
AWS_ACCESS_KEY_ID=s3-is-mocked
AWS_SECRET_ACCESS_KEY=s3-is-mocked
# The rest is okay for most developers...
AWS_DEFAULT_REGION=fra1
DATABASE_URL=postgres://documatt:documatt@postgres/documatt
REDIS_URL=redis://redis:6379
BOBU_TMP=/tmp/bobu
# LOGGING_CONF=/path/to/logging.conf
# Prevents RQ error https://gitlab.com/documatt-private/snippets/-/issues/38#note_384983793
LC_ALL=C.UTF-8
LANG=C.UTF-8
# --- Postgres image ---
# database name, user, and password
POSTGRES_DB=documatt
POSTGRES_USER=documatt
POSTGRES_PASSWORD=documatt
# --- PgTestCase ---
TEST_DB_HOST=postgres
TEST_DB_NAME=documatttest
# if PG runs from Docker image above, use the same user and password
TEST_DB_USER=documatt
TEST_DB_PASSWORD=documatt
# --- scripts/gunicorn ---
GUNICORN_OPTS=--reload
# To Moto S3 testing library to work with DigitalOcean Spaces instead AWS,
# it needs to know which endpoint to mock
# http://docs.getmoto.org/en/latest/docs/services/s3.html
MOTO_S3_CUSTOM_ENDPOINTS=https://fra1.digitaloceanspaces.com