add volume for vscode extensions

This commit is contained in:
Cameron Carslake 2026-04-05 14:19:33 +09:30
parent 60d54f0e50
commit 3354b0e4bc

View file

@ -66,6 +66,8 @@ services:
- ..:/workspace:cached
# Enable if you require git cloning
- ${HOME}/.ssh:/home/frappe/.ssh:ro
# Enable to persist extensions when attaching to containers
- vscode-extensions:/home/frappe/.vscode-server/extensions
working_dir: /workspace/development
ports:
- 8000-8005:8000-8005
@ -73,6 +75,9 @@ services:
networks:
frappe-network:
ipv4_address: 172.20.0.13
labels:
- "devcontainer.local_folder=${LOCAL_WORKSPACE_FOLDER}"
# enable the below service if you need Cypress UI Tests to be executed
# Before enabling ensure install_x11_deps.sh has been executed and display variable is exported.
# Run install_x11_deps.sh again if DISPLAY is not set
@ -100,12 +105,14 @@ services:
# - /tmp/.X11-unix:/tmp/.X11-unix
# - ..:/workspace:z,cached
# network_mode: "host"
volumes:
mariadb-data:
redis-cache-data:
redis-queue-data:
#postgresql-data:
#mailpit-data:
vscode-extensions:
networks:
frappe-network: