Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for the issue https://github.com/Islandora-Devops/isle-dc/issues/372 #407

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions build/docker-compose/docker-compose.code-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
networks:
default:
internal: true
gateway:
external: true
secrets:
CODE_SERVER_PASSWORD:
file: "../../secrets/live/CODE_SERVER_PASSWORD"
Expand Down Expand Up @@ -41,11 +43,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 +74,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: {}
code-server-data: {}