forked from datalad/datalad-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.test
24 lines (20 loc) · 1.04 KB
/
env.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ====== Variables needed to run the services in testing mode ======
# The name of the Docker Compose project (stack) for testing.
# This is needed to avoid conflicts with other running instances of Datalad-Registry
# within the same host.
COMPOSE_PROJECT_NAME=dl-registry-test
# Variables related to the broker service
RABBITMQ_DEFAULT_USER=tester
RABBITMQ_DEFAULT_PASS=testpass
# Variables related to the db service
POSTGRES_DB=pgdb
POSTGRES_USER=tester
POSTGRES_PASSWORD=testpass
# ==================================================================
# ======== Variables needed to run the tests =======================
# (Make sure that user name and password characters do not need to be escaped for URL
# format or to escape them properly if they do)
CELERY_BROKER_URL=amqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@localhost:35672
CELERY_RESULT_BACKEND=redis://localhost:36379
SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:35432/pgdb
# ==================================================================