mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
add volume for vscode extensions
This commit is contained in:
parent
60d54f0e50
commit
3354b0e4bc
1 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue