fix(docker): reduce Docker size + improve security

This commit is contained in:
Damien Laureaux 2024-10-24 16:22:27 +02:00
parent dfb532e4d3
commit 76031f01e3
No known key found for this signature in database
GPG key ID: 3802EADA1C1C604D
3 changed files with 70 additions and 20 deletions

View file

@ -21,8 +21,8 @@ services:
ports:
- 3001:3001
volumes:
- backend-dbstore:/home/perplexica/data
- ./config.toml:/home/perplexica/config.toml
- backend-dbstore:/app/data:rw
- ./config.toml:/app/config.toml:rw
extra_hosts:
- 'host.docker.internal:host-gateway'
networks: