+ Searx with all required configurations in place
This commit is contained in:
1 parent
8d8e794257
commit
2d6d4e5dfc
2 files changed
+18
-1
No files matched your search
@@ -3,6 +3,21 @@
|
||||
remote_user: ubuntu
|
||||
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
|
||||
@@ -10,6 +25,7 @@
|
||||
pull: yes
|
||||
restart_policy: always
|
||||
recreate: yes
|
||||
volumes:
|
||||
- "/var/www/searx/settings.yml:/etc/searx/settings.yml"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
||||
Reference in new issue
Block a user