version: '3'
services:
  app:
    image: jeancloud/backup-to-nextcloud
    volumes:
      - /data/nc-backup.jean-cloud.net/db:/usr/local/app/db
    restart: unless-stopped
    networks:
      default:
        ipv4_address: 172.29.16.100
    deploy:
      resources:
        limits:
          cpus: '0.50'
          memory: 100M


networks:
  default:
    ipam:
      config:
        - subnet: 172.29.16.0/24