Fix a bunch of stuff. Add docker compose files to make server config repo obsolete

This commit is contained in:
2024-07-21 22:04:13 -05:00
parent 060d736b24
commit 4c58bc45d0
33 changed files with 872 additions and 51 deletions

View File

@ -0,0 +1,34 @@
services:
searxng:
image: searxng/searxng:latest
container_name: searxng
hostname: searxng.gib
domainname: search.${DOMAIN}
networks:
${NETWORK_NAME}:
ipv4_address: ${IP_PREFIX}.11
ports:
- "8080:8080"
env_file:
- ../user_variables.env
environment:
- SEARXNG_BASE_URL=https://search.${DOMAIN}
- AUTOCOMPLETE=google
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
volumes:
- ${VOLUME_DIR}/Searxng/Data:/etc/searxng
tty: true
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
${NETWORK_NAME}:
external: true