Skip to content

Commit 467547d

Browse files
author
patched.codes[bot]
committed
Patched docker-compose.yml
1 parent 9d9fa4f commit 467547d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ services:
99
- POSTGRES_DB=postgres
1010
- POSTGRES_USER=postgres
1111
- POSTGRES_PASSWORD=postgres
12+
read_only: true
13+
security_opt:
14+
- no-new-privileges:true
1215
web:
1316
build: .
1417
image: pygoat/pygoat
@@ -20,10 +23,16 @@ services:
2023
depends_on:
2124
- migration
2225
- db
26+
read_only: true
27+
security_opt:
28+
- no-new-privileges:true
2329
migration:
2430
image: pygoat/pygoat
2531
command: python pygoat/manage.py migrate --noinput
2632
volumes:
2733
- .:/app
2834
depends_on:
2935
- db
36+
read_only: true
37+
security_opt:
38+
- no-new-privileges:true

0 commit comments

Comments
 (0)