phpipam amb Docker o Podman

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
restart: unless-stopped
volumes:
- phpipam-ca:/usr/local/share/ca-certificates:ro
depends_on:
- phpipam-mariadb
cpus: 1
networks:
- phpipam-network

phpipam-mariadb:
image: mariadb:latest
container_name: phpipam-mariadb
hostname: phpipam-mariadb
ports:
- "25480:3306"
environment:
- MYSQL_ROOT_PASSWORD=924c27957df6ee86031cbb8816266ed356c0A.
restart: unless-stopped
volumes:
- phpipam-db-data:/var/lib/mysql
cpus: 1
networks:
- phpipam-network

volumes:
phpipam-db-data:
name: phpipam-db-data
external: true
phpipam-logo:
name: phpipam-logo
external: true
phpipam-ca:
name: phpipam-ca
external: true

networks:
phpipam-network:
ipam:
driver: default
config:
- subnet: 10.255.254.8/29