Skip to content

Commit 5117084

Browse files
authored
install manifests: use caddy v2 for https setup (hasura#4823)
1 parent 65920fb commit 5117084

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# replace :80 with your domain name to get automatic https via LetsEncrypt
22
:80 {
3-
proxy / graphql-engine:8080 {
4-
websocket
5-
}
3+
reverse_proxy graphql-engine:8080
64
}

install-manifests/docker-compose-https/docker-compose.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ services:
2222
## uncomment next line to set an admin secret
2323
# HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
2424
command:
25-
- graphql-engine
25+
- graphql-engine
2626
- serve
2727
caddy:
28-
image: abiosoft/caddy:0.11.0
28+
image: caddy/caddy
2929
depends_on:
3030
- "graphql-engine"
3131
restart: always
3232
ports:
3333
- "80:80"
3434
- "443:443"
3535
volumes:
36-
- ./Caddyfile:/etc/Caddyfile
36+
- ./Caddyfile:/etc/caddy/Caddyfile
3737
- caddy_certs:/root/.caddy
3838
volumes:
3939
db_data:

0 commit comments

Comments
 (0)