Use container restart policy from main

This commit is contained in:
Hristo 2024-05-30 17:21:40 -04:00
parent e0d9522435
commit dfed6a0ad8

View file

@ -3,7 +3,6 @@ services:
image: docker.io/searxng/searxng:latest image: docker.io/searxng/searxng:latest
volumes: volumes:
- ./searxng:/etc/searxng:rw - ./searxng:/etc/searxng:rw
restart: always
ports: ports:
- 4000:8080 - 4000:8080
networks: networks:
@ -16,7 +15,6 @@ services:
dockerfile: backend.dockerfile dockerfile: backend.dockerfile
args: args:
- SEARXNG_API_URL=null - SEARXNG_API_URL=null
restart: always
volumes: volumes:
- "/Volumes/keys/headllamp/keys/:/var/keys/" - "/Volumes/keys/headllamp/keys/:/var/keys/"
- "${GOOGLE_APPLICATION_CREDENTIALS}:/var/keys/gcp_service_account.json" - "${GOOGLE_APPLICATION_CREDENTIALS}:/var/keys/gcp_service_account.json"
@ -27,6 +25,7 @@ services:
GROQ: ${GROQ} GROQ: ${GROQ}
OLLAMA_API_URL: ${OLLAMA_API_URL} OLLAMA_API_URL: ${OLLAMA_API_URL}
GOOGLE_APPLICATION_CREDENTIALS: /var/keys/gcp_service_account.json GOOGLE_APPLICATION_CREDENTIALS: /var/keys/gcp_service_account.json
USE_JWT: ${USE_JWT}
depends_on: depends_on:
- searxng - searxng
ports: ports: