2
submitted 1 year 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
[-] ElevenNotes@alien.top 1 points 1 year ago

When you work on windows, and you copy and paste into a linux session, make sure that your linux client supports the removal of CR on each new line you copy, otherwise you copy CRLF and your linux host can’t read the file properly and gives these kinds of errors.

[-] fst916@alien.top 1 points 1 year ago

i will try to type out the whole thing instead of copy and paste.

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

Self-Hosted Main

504 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