File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ cargo build --release
2626
2727## Docker
2828
29- Build the docker image
30- ```
31- docker build . -t snoop
32- ```
33-
3429Copy the ` .env.example ` and rename it to ` .env `
3530
3631Start the indexer
Original file line number Diff line number Diff line change 11services :
22 graphql :
3- image : graphile/postgraphile:latest
43 container_name : graphql
54 restart : always
5+ build :
6+ context : ./graphql
67 depends_on :
78 postgres :
89 condition : service_healthy
@@ -30,8 +31,9 @@ services:
3031 env_file : " ./.env"
3132
3233 indexer :
33- image : snoop
3434 container_name : indexer
35+ build :
36+ context : .
3537 depends_on :
3638 postgres :
3739 condition : service_healthy
Original file line number Diff line number Diff line change 1+ FROM node:alpine
2+
3+ RUN npm install -g postgraphile
4+
5+ EXPOSE 5000
6+ ENTRYPOINT ["postgraphile" , "-n" , "0.0.0.0" ]
You can’t perform that action at this time.
0 commit comments