Skip to content

Commit 2f2a57e

Browse files
committed
Add env template for localdev
1 parent 82541ea commit 2f2a57e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

things/env-template-localdev

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# used to build url where the user can retrieve the resources
2+
OCRD_WEBAPI_SERVER_PATH=http://localhost:5050
3+
4+
# both ports intended only to make it available on localhost
5+
OCRD_WEBAPI_PORT=5050
6+
OCRD_WEBAPI_MONGO_PORT=27018
7+
8+
# the webapi stores its data there. Also used in docker-compose. With a volume mount it is exposed
9+
# to the host
10+
OCRD_WEBAPI_STORAGE_DIR=/tmp/ocrd-webapi-data
11+
12+
# used by the webapi to connect to mongodb. Must fit to OCRD_WEBAPI_MONGO_PORT when the mongodb is
13+
# used in local development environment
14+
OCRD_WEBAPI_DB_URL=mongodb://localhost:27018/ocrd-webapi
15+
16+
# dir on the host where the volumes are mounted where the webapi stores data
17+
OCRD_WEBAPI_DATADIR_HOST=/tmp/ocrd-webapi-docker-volume
18+
19+
# path to processing-broker config-file (list where processing servers are available)
20+
OCRD_PROCESSOR_CONFIG_PATH=processor_config.yml
21+
22+
# uploading workflows is restricted. Leave empty to disable uploading workflows
23+
OCRD_WEBAPI_USERNAME=test
24+
OCRD_WEBAPI_PASSWORD=test

0 commit comments

Comments
 (0)