release: kitabu chain v0.1.0
This commit is contained in:
12
devops/Caddyfile
Normal file
12
devops/Caddyfile
Normal file
@@ -0,0 +1,12 @@
|
||||
rpc.yourdomain {
|
||||
reverse_proxy openethereum:8545
|
||||
}
|
||||
|
||||
ws.yourdomain {
|
||||
@websockets {
|
||||
header Connection *Upgrade*
|
||||
header Upgrade websocket
|
||||
}
|
||||
|
||||
reverse_proxy @websockets openethereum:8546
|
||||
}
|
||||
17
devops/docker-compose.yml
Normal file
17
devops/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
caddy:
|
||||
restart: unless-stopped
|
||||
container_name: caddy
|
||||
image: caddy:2-alpine
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./caddy/data:/data
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
networks:
|
||||
- openethereum_kitabu
|
||||
networks:
|
||||
openethereum_kitabu:
|
||||
external: true
|
||||
Reference in New Issue
Block a user