update https manifests for docker compose (#781)

This commit is contained in:
Shahidh K Muhammed 2018-10-17 10:56:14 +05:30 committed by GitHub
parent 3f34849db1
commit ec1474b74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,6 @@
<your-domain.com> {
proxy / graphql-engine:8080 {
websocket
}
# replace :80 with your domain name to get automatic https via LetsEncrypt
:80 {
proxy / graphql-engine:8080 {
websocket
}
}

View File

@ -1,7 +1,7 @@
version: '3.6'
services:
postgres:
image: postgres
image: postgres:10.5
restart: always
volumes:
- db_data:/var/lib/postgresql/data
@ -11,14 +11,17 @@ services:
- "postgres"
restart: always
environment:
HASURA_GRAPHQL_ACCESS_KEY: mysecretaccesskey
# database url to connect
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:@postgres:5432/postgres
# enable the console served by server
HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set "false" to disable console
## uncomment next line to set an access key
# HASURA_GRAPHQL_ACCESS_KEY: mysecretaccesskey
command:
- graphql-engine
- serve
- --enable-console
caddy:
image: abiosoft/caddy
image: abiosoft/caddy:0.11.0
depends_on:
- "graphql-engine"
restart: always