mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
chore: Create docker-compose.yml
This commit is contained in:
parent
9fb704dcb7
commit
cdd4b8e8f6
1 changed files with 16 additions and 0 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
searxng:
|
||||
container_name: searxng
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8888:8888"
|
||||
environment:
|
||||
SEARXNG_SETTINGS_PATH: "/etc/searxng/settings.yml"
|
||||
volumes:
|
||||
- ./settings.yml:/etc/searxng/settings.yml
|
||||
- ./requirements.txt:/app/requirements.txt
|
||||
command: ["sh", "-c", "source /usr/local/searxng/searx-pyenv/bin/activate && python searx/webapp.py"]
|
Loading…
Add table
Reference in a new issue