diff --git a/.woodpecker.yml b/.woodpecker.yml
new file mode 100644
index 0000000..dbc9c12
--- /dev/null
+++ b/.woodpecker.yml
@@ -0,0 +1,19 @@
+# woodpecker.yml
+labels:
+ hostname: "macmini7"
+clone:
+ git:
+ image: woodpeckerci/plugin-git
+ settings:
+ partial: false
+ depth: 1
+steps:
+ deploy:
+ name: deploy
+ image: docker:latest
+ secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ commands:
+ # - docker login -u $${REGISTRY_USER} -p $${REGISTRY_PASSWORD} git.nixc.us
+ - docker stack deploy --with-registry-auth -c ./truenas.yml truenas
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index 719f1bb..1811b4f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,6 @@ FROM nginx:alpine
# Copy our custom Nginx configuration and script
COPY nginx.conf /etc/nginx/nginx.conf.template
COPY docker-entrypoint.sh /docker-entrypoint.sh
-COPY matomo.js /matomo.js.template
# Make the script executable
RUN chmod +x /docker-entrypoint.sh
diff --git a/nginx.conf b/nginx.conf
index 9af542a..b497998 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -10,7 +10,9 @@ http {
server {
listen 80;
-
+
+ add_header Content-Security-Policy "default-src * 'unsafe-inline' 'unsafe-eval'; img-src * data:; font-src * data:;";
+# add_header Content-Security-Policy "default-src 'self'; script-src 'self' https://ack.nixc.us; style-src 'self'; img-src 'self'; font-src 'self'; connect-src 'self'; frame-ancestors 'self'; form-action 'self';";
# Define MIME type
types {
text/html html htm shtml;
@@ -33,16 +35,10 @@ http {
sub_filter_once off;
# Inject the Matomo content just before
-# sub_filter '' '';
- sub_filter '' '';
+ sub_filter '