# Dockercompose exercise

**URL:** <https://forums.docker.com/t/dockercompose-exercise/132116>\
**Category:** General\
**Tags:** docker\
**Created:** [November 26, 2022, 12:13pm UTC](https://forums.docker.com/t/dockercompose-exercise/132116 "2022-11-26T12:13:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rimelek](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/rimelek/32/41602_2.png) [@rimelek](https://forums.docker.com/u/rimelek)\
**Post date:** [November 26, 2022, 10:22pm UTC](https://forums.docker.com/t/dockercompose-exercise/132116/2 "2022-11-26T22:22:42Z")

</div>

It looks like you have a python syntax error. Probably caused by invalid indentation. The code in the docs seems right, so if you can’t find the syntax error, please, share the code that you used. Maybe something happened when you copied the code.

Make sure you format your post as described in the following topic (use code blocks):

> [@How to format your forum posts](https://forums.docker.com/t/how-to-format-your-forum-posts/127295):
>
> The Docker forum is using [Discourse](https://www.discourse.org/), which supports several ways to format your posts: Markdown; see [commonmark.org/help](https://commonmark.org/help/) for an interactive tutorial BBCode A small selection of HTML Any combination of the above Blank lines for formatting and readability Quite often you’ll need an empty line above specific formatting to make it work. You also need to type blank lines to create proper paragraphs; just pressing Return once and then typing a new block of text right below a previous block only …

---

_[View the full topic](https://forums.docker.com/t/dockercompose-exercise/132116)._
