chore: Create docker-compose.yml

This commit is contained in:
Luiz Felipe Apolinário 2024-10-20 13:31:03 -03:00 committed by GitHub
parent 9fb704dcb7
commit cdd4b8e8f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
docker-compose.yml Normal file
View 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"]