initial commit
Some checks failed
deploy / build-and-deploy (push) Failing after 21s

This commit is contained in:
2025-05-18 13:16:20 +02:00
commit 60f3f8a096
148 changed files with 17900 additions and 0 deletions

5
.devcontainer/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM node:22
WORKDIR /workspace
USER node

View File

@ -0,0 +1,18 @@
{
"name": "website",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
"forwardPorts": ["3306:3306", "4321:4321"],
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "22"
}
},
"postCreateCommand": "npm install",
"customizations": {
"jetbrains": {
"plugins": ["org.jetbrains.plugins.astro", "dev.blachut.svelte.lang"]
}
}
}

View File

@ -0,0 +1,23 @@
services:
app:
build:
context: ..
dockerfile: .devcontainer/Dockerfile
command: sleep infinity
depends_on:
- db
environment:
DATABASE_URL: mysql://website:website@db:3306/website
ports:
- '4321:4321'
db:
image: mariadb:latest
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: website
MARIADB_USER: website
MARIADB_PASSWORD: website
ports:
- '3306:3306'
restart: always