Skip to content

Commit fd1fd35

Browse files
add example .env
1 parent a556999 commit fd1fd35

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.env.example

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Docker specific configs
2+
# use only letters and numbers for the project name
3+
COMPOSE_PROJECT_NAME=postgreststarterkit
4+
5+
6+
# Global configs
7+
DEVELOPMENT=1
8+
JWT_SECRET=reallyreallyreallyreallyverysafe
9+
10+
# DB connection details (used by all containers)
11+
# set PG_VERSION to match your production db major version
12+
PG_VERSION=11.2
13+
DB_HOST=db
14+
DB_PORT=5432
15+
DB_NAME=app
16+
DB_SCHEMA=api
17+
DB_USER=authenticator
18+
DB_PASS=authenticatorpass
19+
20+
# OpenResty
21+
POSTGREST_HOST=postgrest
22+
POSTGREST_PORT=3000
23+
24+
# PostgREST
25+
DB_ANON_ROLE=anonymous
26+
DB_POOL=10
27+
#MAX_ROWS=
28+
#PRE_REQUEST=
29+
SERVER_PROXY_URI=http://localhost:8080/rest
30+
31+
# PostgreSQL container config
32+
# Use this to connect directly to the db running in the container
33+
SUPER_USER=superuser
34+
SUPER_USER_PASSWORD=superuserpass
35+
36+
# RabbitMQ
37+
RABBITMQ_DEFAULT_USER=admin
38+
RABBITMQ_DEFAULT_PASS=adminpass

0 commit comments

Comments
 (0)