services: nextcloud: container_name: nextcloud image: linuxserver/nextcloud:29.0.4 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_proxy - 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: nextcloud: null nginx_proxy: external: true