-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
40 lines (39 loc) · 905 Bytes
/
docker-compose.yml
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
version: '3.3'
services:
graphql:
container_name: apf
restart: always
build:
context: ./graphql
env_file:
- ./.env
networks:
- network
expose:
- '5000'
ports:
- 5000:5000
command: [
'--connection',
'${DATABASE_URL}',
#"--port", "5433",
'--schema',
'apflora',
'--append-plugins',
'postgraphile-plugin-connection-filter,@graphile-contrib/pg-order-by-related,@graphile/postgis,postgraphile-plugin-connection-filter-postgis',
'--jwt-token-identifier',
'auth.jwt_token',
'--default-role',
'postgres',
'--jwt-secret',
'${JWT_SECRET}',
'--cors',
'--enable-query-batching',
'--enhance-graphiql',
'--retry-on-init-fail',
'--watch',
'--body-size-limit',
'2MB',
]
networks:
network: