Skip to content

Commit

Permalink
chore: add docs for dc file
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Sep 14, 2024
1 parent 4017586 commit 6500a4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 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 @@ -7,9 +10,12 @@ services:
- '.:/app:rw'
- './data:/data:rw'
- 'node_modules:/app/node_modules'
# We are using the .env file to store environment variables locally.
env_file: '.env'
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: 'npm run develop'

database_default:
Expand Down

0 comments on commit 6500a4b

Please sign in to comment.