Increase shm size and add depends_on.

This commit is contained in:
Kavin 2022-10-24 12:58:47 +01:00
parent 3618088cf8
commit 1b9c18ea31
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@ services:
postgres:
image: postgres:15-alpine
container_name: postgres-sb-mirror
shm_size: 1g
# ports:
# - 5432:5432
volumes:
@ -32,5 +33,8 @@ services:
ports:
- 8000:8000
restart: unless-stopped
depends_on:
- postgres
- sb-mirror
volumes:
postgres_data: null