initial commit

This commit is contained in:
Tommy Stigen Olsen 2023-12-23 15:07:28 +00:00
commit 388e00f70e
6 changed files with 80 additions and 0 deletions

43
.devcontainer.json Normal file
View File

@ -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=/<Route To Project>/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"
]
}
}

8
.idea/.gitignore vendored Normal file
View File

@ -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

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/video-sub.iml" filepath="$PROJECT_DIR$/.idea/video-sub.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

9
.idea/video-sub.iml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>