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

4
.gitignore vendored
View File

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

View File

@ -13,4 +13,23 @@ git.bizmatch.net {
tls { tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG 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: ports:
# - "80:80" # - "80:80"
- "443:443" - "443:443"
extra_hosts:
- 'host.docker.internal:host-gateway'
networks: networks:
- bizmatch - bizmatch
volumes: volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile - $PWD/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data - caddy_data:/data
- caddy_config:/config - caddy_config:/config
- /home/aknuth/git/bizmatch/dist/bizmatch/browser:/srv
environment: environment:
- CLOUDFLARE_API_TOKEN=q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG - CLOUDFLARE_API_TOKEN=q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
@ -22,4 +25,4 @@ networks:
volumes: volumes:
caddy_data: caddy_data:
external: true external: true
caddy_config: caddy_config:

View File

@ -16,7 +16,7 @@ services:
- bizmatch - bizmatch
auth: auth:
image: quay.io/keycloak/keycloak:23.0.7 image: quay.io/keycloak/keycloak:latest
ports: ports:
- "8080:8080" - "8080:8080"
environment: environment:
@ -50,4 +50,4 @@ networks:
volumes: volumes:
postgres_volume: postgres_volume:
external: true external: true