Skip to content

Commit 6a40bcc

Browse files
committed
docs: clarify docker-compose usage
1 parent 1b29184 commit 6a40bcc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
version: "3"
2-
1+
# The docker-compose.yml file is __only__ used for local development.
2+
# This means that changes to this file will not affect cloud deployments in any way.
3+
# Read more at https://docs.divio.com/reference/docker-docker-compose/
34
services:
45
web:
56
build: .
@@ -13,6 +14,8 @@ services:
1314
DATABASE_URL: postgres://postgres@database_default:5432/db
1415
links:
1516
- "database_default"
17+
# The following command is used to start the local development server.
18+
# Removing this line will mimic the deployment behaviour on Divio Cloud.
1619
command: python manage.py runserver 0.0.0.0:80
1720

1821
database_default:

0 commit comments

Comments
 (0)