mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
fix: yaml.docker-compose.security.no-new-privileges.no-new-privileges-docker-compose.override.yml
This commit is contained in:
parent
a1b1db3895
commit
b3b7221e96
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ services:
|
||||||
- ./surfsense_web/.env
|
- ./surfsense_web/.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
environment:
|
environment:
|
||||||
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://backend:8000}
|
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://backend:8000}
|
||||||
|
|
||||||
|
|
@ -25,6 +27,8 @@ services:
|
||||||
- db
|
- db
|
||||||
env_file:
|
env_file:
|
||||||
- ./surfsense_backend/.env
|
- ./surfsense_backend/.env
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql+asyncpg://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-surfsense}
|
- DATABASE_URL=postgresql+asyncpg://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-surfsense}
|
||||||
- PYTHONPATH=/app
|
- PYTHONPATH=/app
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue