Skip to content
Snippets Groups Projects
Commit 55490869 authored by Dan Notestein's avatar Dan Notestein
Browse files

For exposed PostgREST services, expose the rewriter, not the underlying

PostgREST service.  Also expose more ports on the healthcheck image
parent 096741cd
No related branches found
No related tags found
2 merge requests!66Merge develop to master for release,!64For exposed PostgREST services, expose the rewriter, not the underlying
services:
block-explorer-postgrest:
block-explorer-postgrest-rewriter:
ports:
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_PORT_PREFIX:-1}7005:3000"
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_PORT_PREFIX:-1}7005:80"
services:
hafah-postgrest:
hafah-postgrest-rewriter:
ports:
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_PORT_PREFIX:-1}7003:3000"
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_PORT_PREFIX:-1}7003:80"
......@@ -3,4 +3,4 @@ services:
# expose the healthchecks so we can connect to them from an external haproxy
# shift the ports by 20000 so they don't conflict with haproxy's (if we want to expose those also)
ports:
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_HEALTHCHECK_PORT_PREFIX:-2}7001-${HAF_API_NODE_EXPOSED_HEALTHCHECK_PORT_PREFIX:-2}7005:7001-7005"
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_HEALTHCHECK_PORT_PREFIX:-2}7001-${HAF_API_NODE_EXPOSED_HEALTHCHECK_PORT_PREFIX:-2}7009:7001-7009"
services:
reputation-tracker-postgrest:
reputation-tracker-postgrest-rewriter:
ports:
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_PORT_PREFIX:-1}7009:3000"
\ No newline at end of file
- "${HAF_API_NODE_EXPOSED_IPADDR:-0.0.0.0}:${HAF_API_NODE_EXPOSED_PORT_PREFIX:-1}7009:80"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment