initial release
This commit is contained in:
35
docker/caddy/Caddyfile
Normal file
35
docker/caddy/Caddyfile
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
acme_dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
}
|
||||
|
||||
auth.bizmatch.net {
|
||||
reverse_proxy bizmatch:8080
|
||||
tls {
|
||||
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
}
|
||||
}
|
||||
git.bizmatch.net {
|
||||
reverse_proxy bizmatch:3500
|
||||
tls {
|
||||
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
}
|
||||
}
|
||||
|
||||
dev.bizmatch.net {
|
||||
root * /srv
|
||||
file_server
|
||||
try_files {path} {path}/ /index.html
|
||||
|
||||
encode gzip
|
||||
|
||||
tls {
|
||||
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
}
|
||||
}
|
||||
|
||||
api-dev.bizmatch.net {
|
||||
reverse_proxy host.docker.internal:3000
|
||||
tls {
|
||||
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
}
|
||||
}
|
||||
28
docker/caddy/docker-compose.yml
Normal file
28
docker/caddy/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
caddy:
|
||||
image: iarekylew00t/caddy-cloudflare:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# - "80:80"
|
||||
- "443:443"
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
networks:
|
||||
- bizmatch
|
||||
volumes:
|
||||
- $PWD/Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- /home/aknuth/git/bizmatch/dist/bizmatch/browser:/srv
|
||||
environment:
|
||||
- CLOUDFLARE_API_TOKEN=q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
|
||||
networks:
|
||||
bizmatch:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
external: true
|
||||
caddy_config:
|
||||
Reference in New Issue
Block a user