diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..31fe12f --- /dev/null +++ b/compose.yaml @@ -0,0 +1,31 @@ +# Compose file for testing + +services: + searxng: + build: + context: . + dockerfile: Dockerfile + + container_name: searxng-custom + ports: + - "8080:8080" + environment: + - SECRET_KEY=testing + - SEARXNG_REDIS_URL=redis://redis:6379/0 + - AUTHORIZED_API=false + depends_on: + - redis + cap_drop: [ALL] + cap_add: + - CHOWN + - SETGID + - SETUID + + redis: + image: docker.io/valkey/valkey:8-alpine + container_name: searxng-redis + cap_drop: [ALL] + cap_add: + - DAC_OVERRIDE + - SETGID + - SETUID \ No newline at end of file