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