Compare commits

..

No commits in common. "1bb00fcda96ba52d9b6768e84ab18da7acae77ac" and "1d52665659573407f6d6dbdecf3b7a1d08ed36cf" have entirely different histories.

2 changed files with 4 additions and 19 deletions

View file

@ -79,20 +79,10 @@ COPY --from=ui-build ui/dist /usr/share/nginx/html
# Create caddy reverse proxy
FROM docker.io/caddy AS caddy
RUN <<EOF cat > /etc/caddy/Caddyfile
{
debug
auto_https off
http_port 8080
}
localhost
route /api/* {
localhost:8080
reverse_proxy /api/* web:8080
}
route {
reverse_proxy ui:80
}
reverse_proxy * ui:80
EOF
EXPOSE 8080

View file

@ -67,8 +67,6 @@ services:
- web
ports:
- 8081:8080
volumes:
- caddy_config:/config
db:
image: docker.io/postgres:15-alpine
@ -85,6 +83,3 @@ services:
timeout: 5s
retries: 5
start_period: 60s
volumes:
caddy_config: