Nuke OpenRC from docker image, update readme's

This commit is contained in:
Edvard
2019-02-11 11:27:33 +01:00
parent 0bf8bd4183
commit 9b986c4c14
10 changed files with 12 additions and 48 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ COPY . /app
run yarn install
RUN ["./node_modules/typescript/bin/tsc"]
EXPOSE 3000
CMD ["node", "/app/build/dist/src/index.js"]
CMD ["node", "/app/build/dist/index.js"]
+1 -1
View File
@@ -10,7 +10,7 @@ Build the docker image in this directory. Start the `GraphiQL` frontend by:
`DATABASE_NAME`, `DATABASE_USER`, `DATABASE_PASSWORD` (and optionally
`DATABASE_PORT` if running on non-standard port).
* The specified user needs to be `superuser` on the vulcanizeDB database
* Run the container (ex. `docker run -e DATABASE_HOST=localhost -e DATABASE_NAME=vulcanize_public -e DATABASE_USER=vulcanize -e DATABASE_PASSWORD=vulcanize -d postgraphile:latest`)
* Run the container (ex. `docker run -e DATABASE_HOST=localhost -e DATABASE_NAME=vulcanize_public -e DATABASE_USER=vulcanize -e DATABASE_PASSWORD=vulcanize -d m0ar/images:postgraphile-alpine`)
* GraphiQL is available at `:3000/graphiql`