services: nextcloud: container_name: nextcloud image: linuxserver/nextcloud:29.0.3 ports: - "7777:80" restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin env_file: - db.env volumes: - ./config:/config - ./data:/data depends_on: - db networks: - nginx_default - nextcloud db: container_name: maria_db image: mariadb:10.11 restart: unless-stopped env_file: - db.env volumes: - ./mariadb:/var/lib/mysql networks: - nextcloud networks: nginx_default: external: true nextcloud: