feat(docker-compose): use env vars from compose
This commit is contained in:
parent
c233362e70
commit
9f88d16ef1
|
@ -1,8 +1,5 @@
|
|||
FROM node:slim
|
||||
|
||||
ARG SEARXNG_API_URL
|
||||
ENV SEARXNG_API_URL=${SEARXNG_API_URL}
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
|
||||
COPY src /home/perplexica/src
|
||||
|
|
|
@ -13,9 +13,9 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: backend.dockerfile
|
||||
args:
|
||||
- SEARXNG_API_URL=http://searxng:8080
|
||||
image: itzcrazykns1337/perplexica-backend:main
|
||||
environment:
|
||||
- SEARXNG_API_URL=http://searxng:8080
|
||||
depends_on:
|
||||
- searxng
|
||||
ports:
|
||||
|
|
Loading…
Reference in New Issue