Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge 3: Docker Compose | Advanced Concepts
Docker for Python Developers

bookChallenge 3: Docker Compose

Task

  • Clone this repository to explore this project:
  • Fill in all the blanks ( ___ ) in the Docker Compose file (docker-compose.yml) to configure the web application container. Use parameters to define the build context (build), set ports (ports), mount volumes (volumes), and execute a command (command).

To check the task, run the command below:

If the command above doesn't work, try inputting this python3 tests/run.py.

  • Run the commands below to build the container and start it:
  • Navigate in the browser to port 0.0.0.0:8000.
question mark

What is Docker Compose?

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 4

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Awesome!

Completion rate improved to 5.88

bookChallenge 3: Docker Compose

Sveip for å vise menyen

Task

  • Clone this repository to explore this project:
  • Fill in all the blanks ( ___ ) in the Docker Compose file (docker-compose.yml) to configure the web application container. Use parameters to define the build context (build), set ports (ports), mount volumes (volumes), and execute a command (command).

To check the task, run the command below:

If the command above doesn't work, try inputting this python3 tests/run.py.

  • Run the commands below to build the container and start it:
  • Navigate in the browser to port 0.0.0.0:8000.
question mark

What is Docker Compose?

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 4
some-alt