Skip to content

Commit 0c97828

Browse files
committed
docs: clarify docker-compose usage
1 parent 6cd1e01 commit 0c97828

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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: .
@@ -12,6 +13,8 @@ services:
1213
DATABASE_URL: postgres://postgres@database_default:5432/db
1314
links:
1415
- "database_default"
16+
# The following command is used to start the local development server.
17+
# Removing this line will mimic the deployment behaviour on Divio Cloud.
1518
command: python manage.py runserver 0.0.0.0:80
1619

1720
database_default:

0 commit comments

Comments
 (0)