video-sub/.devcontainer.json

23 lines
1.1 KiB
JSON
Raw Normal View History

2023-12-23 16:07:28 +01:00
{
2024-02-07 17:59:50 +01:00
"image": "php:8.3-fpm",
2023-12-25 13:36:10 +01:00
"customizations": {},
2023-12-23 16:07:28 +01:00
"mounts": [
2024-02-07 17:59:50 +01:00
"source=/,target=/workspace,type=bind,consistency=delegated"
2023-12-23 16:07:28 +01:00
],
"remoteEnv": {
"COMPOSER_ALLOW_SUPERUSER": "1"
},
2023-12-25 13:36:10 +01:00
"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 && mkdir /workspace && 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\"",
2024-02-07 18:09:45 +01:00
"dockerComposeFile": "docker-compose.yml",
2024-02-07 17:59:50 +01:00
"service": "app",
2024-02-07 18:09:45 +01:00
"runServices": [
"postgres",
"redis",
"mailhog"
],
2023-12-23 16:07:28 +01:00
"forwardPorts": [
2024-02-07 18:09:45 +01:00
"8000:8000",
"8025:8025"
2023-12-23 16:07:28 +01:00
]
2023-12-23 16:09:34 +01:00
}