mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +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
|
- ..:/workspace:cached
|
||||||
# Enable if you require git cloning
|
# Enable if you require git cloning
|
||||||
- ${HOME}/.ssh:/home/frappe/.ssh:ro
|
- ${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
|
working_dir: /workspace/development
|
||||||
ports:
|
ports:
|
||||||
- 8000-8005:8000-8005
|
- 8000-8005:8000-8005
|
||||||
|
|
@ -73,6 +75,9 @@ services:
|
||||||
networks:
|
networks:
|
||||||
frappe-network:
|
frappe-network:
|
||||||
ipv4_address: 172.20.0.13
|
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
|
# 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.
|
# 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
|
# Run install_x11_deps.sh again if DISPLAY is not set
|
||||||
|
|
@ -100,12 +105,14 @@ services:
|
||||||
# - /tmp/.X11-unix:/tmp/.X11-unix
|
# - /tmp/.X11-unix:/tmp/.X11-unix
|
||||||
# - ..:/workspace:z,cached
|
# - ..:/workspace:z,cached
|
||||||
# network_mode: "host"
|
# network_mode: "host"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mariadb-data:
|
mariadb-data:
|
||||||
redis-cache-data:
|
redis-cache-data:
|
||||||
redis-queue-data:
|
redis-queue-data:
|
||||||
#postgresql-data:
|
#postgresql-data:
|
||||||
#mailpit-data:
|
#mailpit-data:
|
||||||
|
vscode-extensions:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
frappe-network:
|
frappe-network:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue