impostato limiti ram
This commit is contained in:
parent
50f62ec0c1
commit
c586d65461
@ -2,6 +2,7 @@ services:
|
||||
app:
|
||||
image: castopod/castopod:latest
|
||||
container_name: "castopod-app"
|
||||
mem_limit: 512m
|
||||
env_file: .env
|
||||
volumes:
|
||||
- castopod-media:/var/www/castopod/public/media
|
||||
@ -29,6 +30,7 @@ services:
|
||||
mariadb:
|
||||
image: mariadb:10.5
|
||||
container_name: "castopod-mariadb"
|
||||
mem_limit: 512m
|
||||
networks:
|
||||
- castopod-db
|
||||
volumes:
|
||||
@ -38,14 +40,16 @@ services:
|
||||
MYSQL_DATABASE: castopod
|
||||
MYSQL_USER: castopod
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
image: redis:7.0-alpine
|
||||
container_name: "castopod-redis"
|
||||
mem_limit: 256m
|
||||
command: --requirepass ${CP_REDIS_PASSWORD}
|
||||
volumes:
|
||||
- castopod-cache:/data
|
||||
restart: always
|
||||
networks:
|
||||
- castopod-app
|
||||
|
||||
|
@ -4,6 +4,7 @@ services:
|
||||
image: collabora/code:latest
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
mem_limit: 2g
|
||||
environment:
|
||||
password: ${COLLABORA_PASSWORD}
|
||||
username: ${COLLABORA_USERNAME}
|
||||
|
@ -1,9 +1,9 @@
|
||||
services:
|
||||
|
||||
freshrss:
|
||||
image: freshrss/freshrss:latest
|
||||
container_name: freshrss
|
||||
hostname: freshrss
|
||||
mem_limit: 512m
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
options:
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -3,6 +3,7 @@ services:
|
||||
image: gitea/gitea:latest
|
||||
env_file: .env
|
||||
container_name: gitea
|
||||
mem_limit: 1g
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- USER_UID=102
|
||||
|
@ -3,6 +3,7 @@ services:
|
||||
image: superseriousbusiness/gotosocial:latest
|
||||
container_name: gotosocial
|
||||
user: 1000:1000
|
||||
mem_limit: 2g
|
||||
networks:
|
||||
- gotosocial
|
||||
environment:
|
||||
|
@ -2,6 +2,7 @@ services:
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:1
|
||||
container_name: uptime-kuma
|
||||
mem_limit: 512m
|
||||
volumes:
|
||||
- ./uptime-kuma-data:/app/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
@ -9,7 +9,7 @@ services:
|
||||
tty: true
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
|
||||
mem_limit: 2g
|
||||
mem_limit: 1g
|
||||
## Uncomment above command and define your args if necessary
|
||||
command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
|
||||
## Uncomment this section and the libretranslate_api_keys volume if you want to backup your API keys
|
||||
|
@ -9,8 +9,9 @@ services:
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
restart: unless-stopped
|
||||
image: ghcr.io/linkwarden/linkwarden:latest
|
||||
restart: unless-stopped
|
||||
mem_limit: 2g
|
||||
ports:
|
||||
- 127.0.0.1:3012:3000
|
||||
volumes:
|
||||
|
@ -2,6 +2,8 @@ services:
|
||||
memos:
|
||||
image: neosmemo/memos:stable
|
||||
container_name: memos
|
||||
restart: unless-stopped
|
||||
mem_limit: 1g
|
||||
volumes:
|
||||
- .memos/:/var/opt/memos
|
||||
ports:
|
||||
|
@ -8,6 +8,7 @@ services:
|
||||
init: true
|
||||
restart: always
|
||||
container_name: nextcloud-aio-mastercontainer
|
||||
mem_limit: 4g
|
||||
volumes:
|
||||
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
@ -8,6 +8,7 @@ services:
|
||||
- TZ=CET # optional: set desired timezone
|
||||
- NTFY_BASE_URL=https://ntfy.ilnostropianetaselvaggio.it
|
||||
- NTFY_BEHIND_PROXY=true
|
||||
mem_limit: 512m
|
||||
volumes:
|
||||
- /var/cache/ntfy:/var/cache/ntfy
|
||||
- /etc/ntfy:/etc/ntfy
|
||||
|
@ -3,6 +3,7 @@ services:
|
||||
container_name: snikket-proxy
|
||||
image: snikket/snikket-web-proxy:stable
|
||||
env_file: snikket.conf
|
||||
mem_limit: 128m
|
||||
network_mode: host
|
||||
volumes:
|
||||
- snikket_data:/snikket
|
||||
@ -12,6 +13,7 @@ services:
|
||||
container_name: snikket-certs
|
||||
image: snikket/snikket-cert-manager:stable
|
||||
env_file: snikket.conf
|
||||
mem_limit: 128m
|
||||
volumes:
|
||||
- snikket_data:/snikket
|
||||
- acme_challenges:/var/www/.well-known/acme-challenge
|
||||
@ -21,8 +23,8 @@ services:
|
||||
image: snikket/snikket-web-portal:stable
|
||||
network_mode: host
|
||||
env_file: snikket.conf
|
||||
mem_limit: 128m
|
||||
restart: "unless-stopped"
|
||||
|
||||
snikket_server:
|
||||
container_name: snikket
|
||||
image: snikket/snikket-server:stable
|
||||
@ -30,6 +32,7 @@ services:
|
||||
volumes:
|
||||
- snikket_data:/snikket
|
||||
env_file: snikket.conf
|
||||
mem_limit: 512m
|
||||
restart: "unless-stopped"
|
||||
|
||||
volumes:
|
||||
|
@ -3,6 +3,7 @@ services:
|
||||
image: vaultwarden/server:latest
|
||||
env_file: .env
|
||||
container_name: vaultwarden
|
||||
mem_limit: 512m
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 127.0.0.1:3001:80 # Needed for the ACME HTTP-01 challenge.
|
||||
|
@ -14,4 +14,6 @@
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER}
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT}
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER}
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}
|
||||
mem_limit: 512m
|
||||
restart: unless-stopped
|
||||
|
Loading…
x
Reference in New Issue
Block a user