New v0.4.0 website
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||
{
|
||||
"containerEnv": {
|
||||
"DATABASE_URL": "postgres://drop:drop@db:5432/drop",
|
||||
"EXTERNAL_URL": "http://localhost:4000",
|
||||
"NUXT_PORT": "4000"
|
||||
},
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"lokalise.i18n-ally",
|
||||
"esbenp.prettier-vscode",
|
||||
"Prisma.prisma",
|
||||
"bradlc.vscode-tailwindcss",
|
||||
"Vue.volar",
|
||||
"arktypeio.arkdark",
|
||||
"EditorConfig.EditorConfig",
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-extra/features/protoc:1": {},
|
||||
"ghcr.io/devcontainers/features/node:1": {},
|
||||
"ghcr.io/devcontainers/features/rust:1": {
|
||||
"version": "nightly-2026-03-29"
|
||||
}
|
||||
},
|
||||
|
||||
"name": "Node.js",
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "git submodule update --init --recursive",
|
||||
"postStartCommand": "pnpm install && pnpm prisma migrate deploy && cd torrential && cargo build --release && cd ..",
|
||||
|
||||
"runServices": ["db", "app"],
|
||||
"service": "app",
|
||||
"shutdownAction": "stopCompose",
|
||||
"workspaceFolder": "/workspaces/drop"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
app:
|
||||
image: mcr.microsoft.com/devcontainers/base:noble
|
||||
command: sleep infinity
|
||||
volumes:
|
||||
- ..:/workspaces/drop:cached
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
db:
|
||||
image: postgres:14-alpine
|
||||
environment:
|
||||
POSTGRES_USER: drop
|
||||
POSTGRES_PASSWORD: drop
|
||||
POSTGRES_DB: drop
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U drop -d drop"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Generated
+324
-335
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,45 @@
|
||||
onlyBuiltDependencies:
|
||||
- "@bufbuild/buf"
|
||||
- "@parcel/watcher"
|
||||
- "@prisma/client"
|
||||
- "@prisma/engines"
|
||||
- "@tailwindcss/oxide"
|
||||
- '@bufbuild/buf'
|
||||
- '@parcel/watcher'
|
||||
- '@prisma/client'
|
||||
- '@prisma/engines'
|
||||
- '@tailwindcss/oxide'
|
||||
- argon2
|
||||
- esbuild
|
||||
- prisma
|
||||
- sharp
|
||||
- unrs-resolver
|
||||
|
||||
overrides:
|
||||
'@isaacs/brace-expansion@<=5.0.0': '>=5.0.1'
|
||||
ajv@<6.14.0: '>=6.14.0'
|
||||
devalue@<=5.6.2: '>=5.6.3'
|
||||
devalue@>=5.1.0 <5.6.2: '>=5.6.2'
|
||||
devalue@>=5.3.0 <=5.6.1: '>=5.6.2'
|
||||
diff@>=6.0.0 <8.0.3: '>=8.0.3'
|
||||
hono@<4.11.10: '>=4.11.10'
|
||||
hono@<4.11.7: '>=4.11.7'
|
||||
lodash-es@>=4.0.0 <=4.17.22: '>=4.17.23'
|
||||
lodash@>=4.0.0 <=4.17.22: '>=4.17.23'
|
||||
minimatch@<3.1.3: '>=3.1.3'
|
||||
minimatch@<3.1.4: '>=3.1.4'
|
||||
minimatch@>=10.0.0 <10.2.1: '>=10.2.1'
|
||||
minimatch@>=10.0.0 <10.2.3: '>=10.2.3'
|
||||
minimatch@>=5.0.0 <5.1.7: '>=5.1.7'
|
||||
minimatch@>=5.0.0 <5.1.8: '>=5.1.8'
|
||||
minimatch@>=9.0.0 <9.0.6: '>=9.0.6'
|
||||
minimatch@>=9.0.0 <9.0.7: '>=9.0.7'
|
||||
node-forge@<1.3.2: '>=1.3.2'
|
||||
qs@<6.14.1: '>=6.14.1'
|
||||
qs@>=6.7.0 <=6.14.1: '>=6.14.2'
|
||||
rollup@>=4.0.0 <4.59.0: '>=4.59.0'
|
||||
serialize-javascript@<=7.0.2: '>=7.0.3'
|
||||
seroval@<1.4.1: '>=1.4.1'
|
||||
seroval@<=1.4.0: '>=1.4.1'
|
||||
tar@<7.5.7: '>=7.5.7'
|
||||
tar@<7.5.8: '>=7.5.8'
|
||||
tar@<=7.5.2: '>=7.5.3'
|
||||
tar@<=7.5.3: '>=7.5.4'
|
||||
undici@>=7.0.0 <7.18.2: '>=7.18.2'
|
||||
|
||||
shamefullyHoist: true
|
||||
|
||||
Reference in New Issue
Block a user