From ab22d787a507d848325e6ff60d4a5b58cb667d2f Mon Sep 17 00:00:00 2001 From: Daniel Svitan Date: Tue, 10 Jun 2025 14:12:15 +0200 Subject: [PATCH] :wrench: Makes caddy host network --- caddy/depl.yaml | 12 ++++++------ url/.gitignore | 2 ++ url/data/urls.sqlite | Bin 20480 -> 20480 bytes 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 url/.gitignore diff --git a/caddy/depl.yaml b/caddy/depl.yaml index 07cabde..f2d982f 100644 --- a/caddy/depl.yaml +++ b/caddy/depl.yaml @@ -15,7 +15,7 @@ spec: labels: app: caddy spec: - #hostNetwork: true + hostNetwork: true restartPolicy: Always containers: - name: caddy @@ -36,11 +36,11 @@ spec: timeoutSeconds: 1 periodSeconds: 10 failureThreshold: 3 - ports: - - containerPort: 5001 - - containerPort: 5002 - - containerPort: 5030 - - containerPort: 5567 + #ports: + #- containerPort: 5001 + #- containerPort: 5002 + #- containerPort: 5030 + #- containerPort: 5567 volumeMounts: - name: caddy-file mountPath: /etc/caddy diff --git a/url/.gitignore b/url/.gitignore new file mode 100644 index 0000000..93b120d --- /dev/null +++ b/url/.gitignore @@ -0,0 +1,2 @@ +data/ +!**/.gitkeep diff --git a/url/data/urls.sqlite b/url/data/urls.sqlite index 6170091e1f92322834af67f478d276440d06de98..27a92397f6255b69ce1dabb74af169b0c621f641 100644 GIT binary patch delta 19 acmZozz}T>Wae_1>=R_H2M$U~13;Y2*zXkFD delta 19 acmZozz}T>Wae_1>>qHr6M%Il93;Y2*g9YjU