version: '3.1' services: db: image: linuxserver/mariadb restart: always ports: - 3306:3306 environment: - MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}