Contingut del ficher docker-compose.yml: services: phpipam-web: image: phpipam/phpipam-www:1.6x container_name: phpipam-web hostname: phpipam-web ports: – “8620:80” environment: – TZ=Europe/Madrid – IPAM_DATABASE_HOST=phpipam-mariadb – IPAM_DATABASE_PASS=924c27957df6ee86031cbb8816266ed356c0A. – IPAM_DATABASE_WEBHOST=% restart: unless-stopped volumes: – phpipam-logo:/phpipam/css/images/logo – phpipam-ca:/usr/local/share/ca-certificates:ro depends_on: – phpipam-mariadb cpus: 1 networks: – phpipam-network phpipam-cron: image: phpipam/phpipam-cron:1.6x container_name: phpipam-cron hostname: phpipam-cron environment: – TZ=Europe/London – IPAM_DATABASE_HOST=phpipam-mariadb – IPAM_DATABASE_PASS=924c27957df6ee86031cbb8816266ed356c0A. – SCAN_INTERVAL=1h… Continueu llegint phpipam amb Docker o Podman
Categoria: Sense categoria
Cópies de seguretat de les dades dels volums
Has de programar en el cron del teu usuari amb permisos per executar comandes de docker: docker run –rm \–mount source=owncloud-files,target=/dataToBackup \-v ${PWD}/backups/owncloud-files:/backup \busybox \tar -czf /backup/owncloud-files.tar.gz /dataToBackup
Greenbone per Docker
Contingut del fitxer /etc/cron.weekly/greenbone-update.sh: #!/bin/bashcd /opt/docker/greenbonedocker compose pulldocker compose up -ddocker images –format “{{.ID}} {{.Repository}}:{{.Tag}}” | grep “<none>” | awk ‘{print $1}’ | xargs docker rmidocker system prune -A Contingut del ficher docker-compose.yml: services: vulnerability-tests: image: greenbone/vulnerability-tests environment: STORAGE_PATH: /var/lib/openvas/22.04/vt-data/nasl volumes: – vt_data_vol:/mnt notus-data: image: greenbone/notus-data:latest volumes: – notus_data_vol:/mnt scap-data: image: greenbone/scap-data:latest volumes: – scap_data_vol:/mnt… Continueu llegint Greenbone per Docker
Hola, món!
Us donem la benvinguda al WordPress. Aquesta és la primera entrada. Editeu-la o suprimiu-la, i aleshores comenceu a escriure!