feat(docker-compose): implement data volume

This commit is contained in:
ItzCrazyKns 2024-06-29 11:10:26 +05:30
parent c51ec8ff0f
commit 799f4d6aee
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065
4 changed files with 17 additions and 3 deletions

View file

@ -19,8 +19,10 @@ services:
- searxng
ports:
- 3001:3001
volumes:
- backend-dbstore:/home/perplexica/data
extra_hosts:
- "host.docker.internal:host-gateway"
- 'host.docker.internal:host-gateway'
networks:
- perplexica-network
restart: unless-stopped
@ -42,3 +44,6 @@ services:
networks:
perplexica-network:
volumes:
backend-dbstore: