2
submitted 11 months ago by fst916@alien.top to c/main@selfhosted.forum

I am trying to deploy nextcloud aio in proxmox. I am trying to run docker compose to pull the image but when I run the command, I get an error stating "services must be a mapping". I'm sure its an indentation problem but im not sure how to fix it. below is my yaml config:

version: "3.8"

volumes:

nextcloud_aio_mastercontainer:

name: nextcloud_aio_mastercontainer

services:

nextcloud:

image: nextcloud/all-in-one:latest

restart: unless-stopped

container_name: nextcloud-aio-mastercontainer

volumes:

- nextcloud_aio_mastercontainer:/mnt/docker-aio-config

- /var/run/docker.sock:/var/run/docker.sock:ro

ports:

- 8195:8080 # change the port on the left side if it's already in use on your host system.

environment:

- APACHE_PORT=11000 # change this port number if 11000 is already in use on your host system.

- APACHE_DISABLE_REWRITE_IP=1

- NEXTCLOUD_TRUSTED_DOMAINS=< nextcloud.DOMAIN.com > <192.168.0.5 > # Your domain name + proxy host IP

- TRUSTED_PROXIES=< 192.168.0.5 > # proxy host IP

you are viewing a single comment's thread
view the rest of the comments
[-] thekrautboy@alien.top 2 points 11 months ago

I get an error stating "services must be a mapping". I'm sure its an indentation problem but im not sure how to fix it. below is my yaml config:

How should we figure out your indentation of the YML when you post it unformatted here? Use reddit markdown to format it properly as code so we can really see it and spot a error, or simply put your entire compose on a site like https://www.pastebin.com and share the link to it.

Btw /r/Nextcloud and /r/Docker both exist for this.

this post was submitted on 24 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS