commit 388e00f70ec460ffa77cc45c69fd93f1087bdefb Author: Tommy Stigen Olsen Date: Sat Dec 23 15:07:28 2023 +0000 initial commit diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..17c092d --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,43 @@ +{ + "image":"php:8.3-fpm", + "settings": { + "php.validate.enable": true, + "php.suggest.basic": false, + "php.executablePath": "/usr/local/bin/php" + }, + "mounts": [ + "source=//larapod,target=/workspace,type=bind,consistency=delegated" + ], + "remoteEnv": { + "COMPOSER_ALLOW_SUPERUSER": "1" + }, + "postCreateCommand": "apt-get update && apt-get install -y build-essential postgresql-client libpng-dev libjpeg62-turbo-dev libfreetype6-dev libzip-dev locales zip jpegoptim optipng pngquant gifsicle git unzip && cd /workspace && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && apt-get install -y libpq-dev && docker-php-ext-install pdo_pgsql && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash && export NVM_DIR=\"$HOME/.nvm\" && [ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\" && [ -s \"$NVM_DIR/bash_completion\" ] && \\. \"$NVM_DIR/bash_completion\"", + "services": { + "db": { + "image": "postgres:14", + "ports": ["5432:5432"], + "environment": { + "MYSQL_DATABASE": "laravel", + "MYSQL_USER": "laravel", + "MYSQL_PASSWORD": "password", + "MYSQL_ROOT_PASSWORD": "password" + }, + "volumes": ["postgres_data:/var/lib/postgresql/data"] + }, + "redis": { + "image": "redis:latest", + "ports": ["6379:6379"], + "volumes": ["redis_data:/data"] + }, + "forwardPorts": [ + 8000, + 5432, + "db:5432", + "redis:6379" + ], + "volumes": [ + "postgres_data:/var/lib/postgresql/data", + "redis_data:/data" + ] + } +} \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..eb2cf6c --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/video-sub.iml b/.idea/video-sub.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/video-sub.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file