diff --git a/.devcontainer.json b/.devcontainer.json index 3da4303..a2a6046 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -8,9 +8,15 @@ "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 && 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\"", - "dockerComposeFile": ".devcontainer/docker-compose.yml", + "dockerComposeFile": "docker-compose.yml", "service": "app", + "runServices": [ + "postgres", + "redis", + "mailhog" + ], "forwardPorts": [ - "8000:8000" + "8000:8000", + "8025:8025" ] }