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

View File

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