add stack hasura
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: '3.6'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:alpine
|
||||
environment:
|
||||
- POSTGRES_DB=${HASURA_POSTGRES_DB:-postgres}
|
||||
- POSTGRES_HOST_AUTH_METHOD=${HASURA_POSTGRES_HOST_AUTH_METHOD:-trust}
|
||||
- POSTGRES_PASSWORD=${HASURA_POSTGRES_PASSWORD:-postgres}
|
||||
- POSTGRES_USER=${HASURA_POSTGRES_USER:-postgres}
|
||||
labels:
|
||||
- SERVICE_5432_CHECK_TCP=true
|
||||
- SERVICE_5432_NAME=${COMPOSE_SERVICE_NAME}-postgres-5432
|
||||
networks:
|
||||
- private
|
||||
ports:
|
||||
- 5432
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
Reference in New Issue
Block a user