Skip to content

Commit

Permalink
Merge pull request #698 from barbalex/better-list-filter
Browse files Browse the repository at this point in the history
Better list filter
  • Loading branch information
barbalex authored Dec 20, 2024
2 parents a633e54 + f629920 commit 02047e5
Show file tree
Hide file tree
Showing 774 changed files with 20,867 additions and 13,723 deletions.
7 changes: 5 additions & 2 deletions backend-dev/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# name: apf
services:
db:
# specify container name to make it easier to run commands
Expand Down Expand Up @@ -36,8 +37,7 @@ services:
- db
env_file:
- ./.env
command:
[
command: [
'--connection',
'${DATABASE_URL}',
'--schema',
Expand All @@ -57,6 +57,9 @@ services:
'--enable-query-batching',
'--retry-on-init-fail',
'--enhance-graphiql',
# enable exporting schema for apollo, only in dev
# '--export-schema-json',
# '/my_data/schema.json',
]
volumes:
db_data:
Expand Down
4 changes: 4 additions & 0 deletions backend-dev/graphql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ RUN npm install -g postgraphile-plugin-connection-filter-postgis

COPY --chown=node:node .postgraphilerc.js .postgraphilerc.js

# enable exporting schema.json, only in dev
# WORKDIR /my_data
# RUN chown -R node:node /my_data

EXPOSE 5000

USER node
Expand Down
1 change: 1 addition & 0 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# name: apf
services:
db:
# specify container name to make it easier to run commands
Expand Down
2 changes: 1 addition & 1 deletion backend/graphql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:slim
# RUN apk add dumb-init
RUN apt-get update && apt-get install -y dumb-init

ENV NODE_ENV production
ENV NODE_ENV=production

RUN npm install -g postgraphile
RUN npm install -g postgraphile-plugin-connection-filter
Expand Down
Loading

0 comments on commit 02047e5

Please sign in to comment.