Fix a bunch of stuff. Add docker compose files to make server config repo obsolete
This commit is contained in:
34
configs/docker/compose_files/searxng/docker-compose.yml
Normal file
34
configs/docker/compose_files/searxng/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user