2023-02-23 19:00:59 -05:00
|
|
|
{
|
|
|
|
"name": "Zipline Codespace",
|
|
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
|
|
"service": "app",
|
2023-03-21 20:01:02 -05:00
|
|
|
"workspaceFolder": "/zipline",
|
2023-02-23 19:00:59 -05:00
|
|
|
"features": {
|
2023-03-21 20:01:02 -05:00
|
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
|
|
"username": "zipline"
|
|
|
|
},
|
|
|
|
"ghcr.io/devcontainers/features/docker-in-docker:1": {
|
|
|
|
"dockerDashComposeVersion": "v2",
|
|
|
|
"installDockerBuildx": true
|
|
|
|
}
|
2023-02-23 19:00:59 -05:00
|
|
|
},
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {
|
|
|
|
"[typescript]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[typescriptreact]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
|
|
"editor.formatOnSave": true,
|
2023-03-21 20:01:02 -05:00
|
|
|
"files.autoSave": "afterDelay",
|
|
|
|
"terminal.integrated.persistentSessionReviveProcess": "never",
|
|
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
|
|
"terminal.integrated.profiles.linux": {
|
|
|
|
"zsh": {
|
|
|
|
"path": "/bin/zsh",
|
|
|
|
"env": {
|
|
|
|
"ZSH_THEME": "devcontainers"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-23 19:00:59 -05:00
|
|
|
},
|
|
|
|
"extensions": ["prisma.prisma", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"remoteUser": "zipline",
|
2023-03-21 20:01:02 -05:00
|
|
|
"updateRemoteUserUID": true,
|
2023-02-23 19:00:59 -05:00
|
|
|
"remoteEnv": {
|
|
|
|
"CORE_DATABASE_URL": "postgres://postgres:postgres@localhost/zip10"
|
|
|
|
},
|
|
|
|
"portsAttributes": {
|
2023-03-21 20:01:02 -05:00
|
|
|
"3000": {
|
|
|
|
"label": "Zipline",
|
2023-02-23 19:00:59 -05:00
|
|
|
"onAutoForward": "openBrowser"
|
2023-03-21 20:01:02 -05:00
|
|
|
},
|
|
|
|
"5432": {
|
|
|
|
"label": "Postgres"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"postCreateCommand": "sudo chown -R zipline:zipline /zipline && yarn install"
|
2023-02-23 19:00:59 -05:00
|
|
|
}
|