infra/playbooks/atlas/init/searx/main.yml
shockrah 7ddd15c4a5 Searx, Clippable, & Filebrowser services are now running on the host
Reverse proxy is the last step before they are exposed to the outside
2022-11-09 00:17:22 -08:00

31 lines
749 B
YAML

---
- hosts: atlas
become: yes
tasks:
- name: Create /var/www/ Configuration Directory
file:
path: /var/www/
state: directory
- name: Create /var/www/searx/ Searx configuration Directory
file:
path: /var/www/searx
state: directory
- name: Copy Searx Configuration to /var/www/searx
copy:
src: settings.yml
dest: /var/www/searx/settings.yml
- name: Pull latest Searx Repo patches
community.docker.docker_container:
name: searx
image: searx/searx
pull: yes
restart_policy: always
recreate: yes
volumes:
- "/var/www/searx/settings.yml:/etc/searx/settings.yml"
ports:
- "8080:8080"