Solr on Docker

version: '3.3'
services:
    solr:
        restart: 'always'
        volumes:
            - '/donnees/apps/solrdata:/var/solr'
        ports:
            - '8983:8983'
        container_name: my_solr
        image: 'solr:8.11.1'
        networks:
          default:
            ipv4_address: 172.18.0.7
networks:
  default:
    driver: bridge
    ipam:
      config:
        - subnet: 172.18.0.0/24