changes acc. localhost & local file system

This commit is contained in:
Andreas Knuth 2024-02-28 14:49:56 -06:00
parent d83a03b455
commit b23100db72
4 changed files with 29 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
*.jar
gitea
auth

View File

@ -14,3 +14,22 @@ git.bizmatch.net {
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
}
}

View File

@ -6,12 +6,15 @@ services:
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

View File

@ -16,7 +16,7 @@ services:
- bizmatch
auth:
image: quay.io/keycloak/keycloak:23.0.7
image: quay.io/keycloak/keycloak:latest
ports:
- "8080:8080"
environment: