Skip to content

Commit

Permalink
docs: clarify docker-compose usage
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Jul 25, 2024
1 parent 1b29184 commit 6a40bcc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: "3"

# The docker-compose.yml file is __only__ used for local development.
# This means that changes to this file will not affect cloud deployments in any way.
# Read more at https://docs.divio.com/reference/docker-docker-compose/
services:
web:
build: .
Expand All @@ -13,6 +14,8 @@ services:
DATABASE_URL: postgres://postgres@database_default:5432/db
links:
- "database_default"
# The following command is used to start the local development server.
# Removing this line will mimic the deployment behaviour on Divio Cloud.
command: python manage.py runserver 0.0.0.0:80

database_default:
Expand Down

0 comments on commit 6a40bcc

Please sign in to comment.