diff --git a/ilnostropianetaselvaggio.md b/ilnostropianetaselvaggio.md index 435eaab..0ad4ae6 100644 --- a/ilnostropianetaselvaggio.md +++ b/ilnostropianetaselvaggio.md @@ -336,126 +336,6 @@ Questi i comandi principali, da dare nella cartella dove si trova il file `docke > Nota: tutte le variabili nei file docker-compose, sono gestite nei rispettivi file .env -#### castopod - -```yml -> cat castopod/docker-compose.yml -services: - app: - image: castopod/castopod:latest - container_name: "castopod-app" - env_file: .env - volumes: - - castopod-media:/var/www/castopod/public/media - environment: - MYSQL_DATABASE: castopod - MYSQL_USER: castopod - MYSQL_PASSWORD: ${MYSQL_PASSWORD} - CP_BASEURL: ${CP_BASEURL} - CP_ANALYTICS_SALT: ${CP_ANALYTICS_SALT} - CP_CACHE_HANDLER: redis - CP_REDIS_HOST: redis - CP_REDIS_PASSWORD: ${CP_REDIS_PASSWORD} - CP_EMAIL_SMTP_HOST: ${CP_EMAIL_SMTP_HOST} - CP_EMAIL_FROM: ${CP_EMAIL_FROM} - CP_EMAIL_SMTP_USERNAME: ${CP_EMAIL_SMTP_USERNAME} - CP_EMAIL_SMTP_PASSWORD: ${CP_EMAIL_SMTP_PASSWORD} - CP_EMAIL_SMTP_PORT: 587 - networks: - - castopod-app - - castopod-db - ports: - - 3008:8000 - restart: unless-stopped - - mariadb: - image: mariadb:10.5 - container_name: "castopod-mariadb" - networks: - - castopod-db - volumes: - - castopod-db:/var/lib/mysql - environment: - MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} - MYSQL_DATABASE: castopod - MYSQL_USER: castopod - MYSQL_PASSWORD: ${MYSQL_PASSWORD} - restart: unless-stopped - - redis: - image: redis:7.0-alpine - container_name: "castopod-redis" - command: --requirepass ${CP_REDIS_PASSWORD} - volumes: - - castopod-cache:/data - networks: - - castopod-app - -volumes: - castopod-media: - castopod-db: - castopod-cache: - -networks: - castopod-app: - castopod-db: -``` - -#### Collabora Editor - -```yml -> cat code/docker-compose.yml -services: - code: - container_name: code - image: collabora/code:latest - env_file: .env - restart: unless-stopped - environment: - password: ${COLLABORA_PASSWORD} - username: ${COLLABORA_USERNAME} - domain: ${COLLABORA_DOMAIN} - dictionaries: en it - extra_params: --o:ssl.enable=true --o:ssl.termination=false # Set SSL options - ports: - - 3005:9980 - volumes: - - /etc/localtime:/etc/localtime - - /etc/timezone:/etc/timezone - cap_add: - - MKNOD - tty: true -``` - -#### FreshRSS - -```yml -> cat freshrss/docker-compose.yml -services: - - freshrss: - image: freshrss/freshrss:latest - container_name: freshrss - hostname: freshrss - restart: unless-stopped - logging: - options: - max-size: 10m - volumes: - - data:/var/www/FreshRSS/data - - extensions:/var/www/FreshRSS/extensions - ports: - # If you want to open a port 8080 on the local machine: - - "3004:80" - environment: - TZ: Europe/Rome - CRON_MIN: '3,33' - -volumes: - data: - extensions: -``` - #### gitea ```bash @@ -544,81 +424,6 @@ Host git.mywebsite.it port 2222 ``` -#### uptime-kuma - -```yml -> cat kuma/docker-compose.yml -services: - uptime-kuma: - image: louislam/uptime-kuma:1 - container_name: uptime-kuma - volumes: - - ./uptime-kuma-data:/app/data - - /var/run/docker.sock:/var/run/docker.sock - ports: - - 3007:3001 - restart: always -``` - -#### ntfy - -```yml -> cat ntfy/docker-compose.yml -services: - ntfy: - image: binwiederhier/ntfy:latest - container_name: ntfy - command: - - serve - environment: - - TZ=CET # optional: set desired timezone - volumes: - - /var/cache/ntfy:/var/cache/ntfy - - /etc/ntfy:/etc/ntfy - ports: - - 3003:80 - restart: unless-stopped -``` - -#### Vaultwarden - -```yml -> cat vaultwarden/docker-compose.yml -services: - vaultwarden: - image: vaultwarden/server:latest - env_file: .env - container_name: vaultwarden - restart: unless-stopped - ports: - - 3001:80 # Needed for the ACME HTTP-01 challenge. - - 3002:443 - environment: - DOMAIN: ${VAULT_DOMAN} - LOG_FILE: "/data/vaultwarden.log" - LOG_LEVEL: "warn" - EXTENDED_LOGGING: "true" - SHOW_PASSWORD_HINT: "false" - SENDS_ALLOWED: "true" - LOGIN_RATELIMIT_MAX_BURST: 10 - LOGIN_RATELIMIT_SECONDS: 60 - ADMIN_RATELIMIT_MAX_BURST: 10 - ADMIN_RATELIMIT_SECONDS: 60 - ADMIN_TOKEN: ${VAULT_ADMIN_TOKEN} - EMERGENCY_ACCESS_ALLOWED: "true" - SIGNUPS_ALLOWED: "false" - SIGNUPS_VERIFY: true - SIGNUPS_VERIFY_RESEND_TIME: 3600 - SIGNUPS_VERIFY_RESEND_LIMIT: 5 - SMTP_HOST: ${VAULT_SMTP_HOST} - SMTP_FROM: ${VAULT_SMTP_FROM} - SMTP_SECURITY: "starttls" - SMTP_PORT: 587 - SMTP_USERNAME: ${VAULT_SMTP_USER} - SMTP_PASSWORD: ${VAULT_SMTP_PASSWD} - volumes: - - ./vw-data:/data -``` ## Collegamenti ### ssh