Skip to content

Commit

Permalink
Patched docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patched.codes[bot] committed May 1, 2024
1 parent 4cb6794 commit ab93e9a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ services:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
security_opt:
- "no-new-privileges:true"
read_only: true

web:
build: .
image: pygoat/pygoat
Expand All @@ -20,10 +24,17 @@ services:
depends_on:
- migration
- db
security_opt:
- "no-new-privileges:true"
read_only: true

migration:
image: pygoat/pygoat
command: python pygoat/manage.py migrate --noinput
volumes:
- .:/app
depends_on:
- db
security_opt:
- "no-new-privileges:true"
read_only: true

0 comments on commit ab93e9a

Please sign in to comment.