mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-21 11:12:27 -05:00
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"name": "manyfold Development Container",
|
|
"image": "ghcr.io/rails/devcontainer/images/ruby:3.4.9",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "22"
|
|
},
|
|
"ghcr.io/rails/devcontainer/features/activestorage": {},
|
|
"ghcr.io/itsmechlark/features/redis-server:1": {}
|
|
},
|
|
"initializeCommand": "mkdir -p ${localEnv:HOME}/manyfold-data",
|
|
"mounts": [
|
|
"source=${localEnv:HOME}/manyfold-data,target=/libraries,type=bind,consistency=cached"
|
|
],
|
|
"postCreateCommand": "bash .devcontainer/setup.sh",
|
|
"postStartCommand": "rm -f tmp/pids/server.pid && redis-server --daemonize yes && bash ./bin/dev",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"Shopify.ruby-lsp"
|
|
]
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"SHELL": "/bin/bash",
|
|
"RAILS_ENV": "development",
|
|
"NODE_ENV": "development"
|
|
},
|
|
"forwardPorts": [
|
|
3214
|
|
],
|
|
"portsAttributes": {
|
|
"3214": {
|
|
"label": "Rails Server",
|
|
"onAutoForward": "notify"
|
|
}
|
|
}
|
|
}
|