Docker Compose Syntax

On the docker compose introduction page (Docker Compose - LinuxServer.io) I believe I have found a syntax error, see below.


Shouldn’t under the environment sections of the yaml config be like below?

environment:
- PUID=1000
- PGID=1000

In the section below this the heimdall image is incorrect again, but the nginx and mariadb images are correct.

Again I’m a noob, but I got an error trying to copy the syntax above. :stuck_out_tongue_winking_eye:

You can use either of them, as shown in our sample :slight_smile:

Ok, I got a syntax error when I did the first example, but changing to the second worked fine. Maybe I messed up spacing or something. Thanks for the answer! Now I have something to test out. :v: