update mem and cpu limits
This commit is contained in:
@ -3,7 +3,7 @@ services:
|
||||
image: postgres:16-alpine
|
||||
env_file: .env
|
||||
restart: always
|
||||
mem_limit: 256m
|
||||
mem_limit: 128m
|
||||
volumes:
|
||||
- ./pgdata:/var/lib/postgresql/data
|
||||
linkwarden:
|
||||
@ -12,7 +12,8 @@ services:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
image: ghcr.io/linkwarden/linkwarden:latest
|
||||
restart: unless-stopped
|
||||
mem_limit: 2g
|
||||
mem_limit: 1.5g
|
||||
cpus: 0.5
|
||||
ports:
|
||||
- 127.0.0.1:3012:3000
|
||||
volumes:
|
||||
|
Reference in New Issue
Block a user