mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 17:12:53 +03:00
f28edd405f
* Ignore node_modules * Use bash-compatible dotenv format While still being compatible with dotenv, this also allows sourcing the file to export all variables in bash. * Add prettier extension to recommendations * Move to port 5001 to avoid conflict with macOS services * Add workspace * Add devcontainer This automatically starts with all environment variables available locally. It brings up services which are dependent on each other individually and verifies health before moving on to the next service. * Split init into clean, up, and logs tasks. This allows the developer to set up .env and .npmrc files before running services, and does not require starting from a clean db every time the devcontainer is restarted. * Copy .env when creating codespace * Automatically run UP command upon devcontainer creation * Fix log message --------- Co-authored-by: Felix Malfait <felix.malfait@gmail.com>
17 lines
499 B
JSON
17 lines
499 B
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker
|
|
{
|
|
"name": "Twenty",
|
|
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
"version": "20.10",
|
|
"enableNonRootDocker": "true",
|
|
"moby": "true"
|
|
}
|
|
},
|
|
"postCreateCommand": ".devcontainer/init.sh",
|
|
"postStartCommand": ".vscode/up.sh"
|
|
}
|