version: '3.1'
services:
  geoserver:
    image: geonode/geoserver:2.18.2
    container_name: geoserver
    volumes:
      - /opt/geoserver/data:/geoserver_data/data
    ports:
      - 18080:8080
    restart: always