xonecas.io
5414
Sa

sat / files

sat / docker-compose.yml

1.1 KB
1services:
2  postgres:
3    image: pgvector/pgvector:pg16
4    container_name: sat-postgres
5    restart: unless-stopped
6    environment:
7      POSTGRES_USER: ${POSTGRES_USER:-postgres}
8      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
9      POSTGRES_DB: ${POSTGRES_DB:-sat}
10    ports:
11      - "${POSTGRES_PORT:-5432}:5432"
12    volumes:
13      - postgres_data:/var/lib/postgresql/data
14
15  redis:
16    container_name: redis
17    image: docker.io/valkey/valkey:8-alpine
18    restart: unless-stopped
19    ports:
20      - "127.0.0.1:6379:6379"
21    volumes:
22      - redis_data:/data
23    logging:
24      driver: "json-file"
25      options:
26        max-size: "1m"
27        max-file: "1"
28
29  searxng:
30    container_name: searxng
31    image: docker.io/searxng/searxng:latest
32    restart: unless-stopped
33    ports:
34      - "127.0.0.1:8080:8080"
35    volumes:
36      - ./searxng:/etc/searxng:ro
37      - searxng-data:/var/cache/searxng:rw
38    environment:
39      - SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
40    logging:
41      driver: "json-file"
42      options:
43        max-size: "1m"
44        max-file: "1"
45
46volumes:
47  postgres_data:
48  redis_data:
49  searxng-data: