Docker compose fpm to AIO

I’m trying to get my docker compose to the AIO images. I am trying to do this but the images was not originally made for the NOT AIO images. only fpm.

Here it my file docker compose.yaml

volumes:
  nextcloud:
  db:

services:
  db:
    image: mariadb:10.6
    restart: always
    command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
    volumes:
      - db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=---
      - MYSQL_PASSWORD=---
      - MYSQL_DATABASE=---
      - MYSQL_USER=---

  app:
    image: nextcloud:stable-fpm
    restart: always
    links:
      - db
    volumes:
      - nextcloud:/var/www/html
    environment:
      - MYSQL_PASSWORD=---
      - MYSQL_DATABASE=---
      - MYSQL_USER=---
      - MYSQL_HOST=---

  web:
    image: nginx
    restart: always
    ports:
      - 8080:80
    links:
      - app
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
    volumes_from:
      - app

any idea on how to do that? I’ve seen the migration page but with docker compose is their anything easier?

Hi, as with any other installation, you need to follow all-in-one/migration.md at main · nextcloud/all-in-one · GitHub. There is no easier way afaik.

OK thank you