Skip to content

Commit

Permalink
Update docker-compose.code-server.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehuynh205 authored Sep 18, 2024
1 parent b20b66e commit 636b213
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build/docker-compose/docker-compose.code-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ services:
- CODE_SERVER_PASSWORD
volumes:
# Mount and serve contents of Drupal site.
- type: volume
source: drupal-root
target: /var/www/drupal
volume:
nocopy: true
- ../../codebase:/var/www/drupal:delegated
# Mount and serve Drupal files.
- type: volume
source: drupal-sites-data
Expand Down Expand Up @@ -76,14 +72,13 @@ services:
- traefik.enable=false
volumes:
# Allow code-server to serve Drupal / override it.
- drupal-root:/var/www/drupal
- ../../codebase:/var/www/drupal:delegated
deploy:
resources:
limits:
memory: ${DRUPAL_MEMORY_LIMIT:-5G}
reservations:
memory: 2G
volumes:
drupal-root: {}
drupal-sites-data: {}
code-server-data: {}

0 comments on commit 636b213

Please sign in to comment.