mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
install manifests: use caddy v2 for https setup (#4823)
This commit is contained in:
parent
65920fb77b
commit
5117084755
@ -1,6 +1,4 @@
|
||||
# replace :80 with your domain name to get automatic https via LetsEncrypt
|
||||
:80 {
|
||||
proxy / graphql-engine:8080 {
|
||||
websocket
|
||||
}
|
||||
reverse_proxy graphql-engine:8080
|
||||
}
|
||||
|
@ -22,10 +22,10 @@ services:
|
||||
## uncomment next line to set an admin secret
|
||||
# HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
|
||||
command:
|
||||
- graphql-engine
|
||||
- graphql-engine
|
||||
- serve
|
||||
caddy:
|
||||
image: abiosoft/caddy:0.11.0
|
||||
image: caddy/caddy
|
||||
depends_on:
|
||||
- "graphql-engine"
|
||||
restart: always
|
||||
@ -33,7 +33,7 @@ services:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/Caddyfile
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_certs:/root/.caddy
|
||||
volumes:
|
||||
db_data:
|
||||
|
Loading…
Reference in New Issue
Block a user