From 66895e6e330b5ff710a18a27f786685b79114674 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Thu, 2 Apr 2020 16:03:37 +0300 Subject: [PATCH] oh well it isn't supported --- .devcontainer/Dockerfile | 1 - .devcontainer/devcontainer.json | 17 ---------------- .devcontainer/docker-compose.yml | 35 -------------------------------- 3 files changed, 53 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json delete mode 100644 .devcontainer/docker-compose.yml diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index c28c0fc..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:12 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 2404c52..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Writer app", - "dockerFile": "Dockerfile", - // Use 'appPort' to create a container with published ports. If the port isn't working, be sure - // your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost. - "appPort": [ - 1234, - 3000 - ], - // Use 'settings' to set *default* container specific settings.json values on container create. - // You can edit these settings after create using File > Preferences > Settings > Remote. - "settings": { - "terminal.integrated.shell.linux": "/bin/zsh" - }, - // Specifies a command that should be run after the container has been created. - //"postCreateCommand": "npm i && cd frontend && npm i", -} \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml deleted file mode 100644 index 1a9220a..0000000 --- a/.devcontainer/docker-compose.yml +++ /dev/null @@ -1,35 +0,0 @@ -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- - -version: '3' -services: - app: - # Uncomment the next line to use a non-root user for all processes. You can also - # simply use the "remoteUser" property in devcontainer.json if you just want VS Code - # and its sub-processes (terminals, tasks, debugging) to execute as the user. On Linux, - # you may need to update USER_UID and USER_GID in .devcontainer/Dockerfile to match your - # user if not 1000. See https://aka.ms/vscode-remote/containers/non-root for details. - # user: node - - build: - context: . - dockerfile: Dockerfile - - # Overrides default command so things don't shut down after the process ends. - command: sleep infinity - - links: - - db - - db: - image: mariadb - restart: unless-stopped - ports: - - 3306:3306 - environment: - MYSQL_PASSWORD: writer - MYSQL_USER: writer - MYSQL_DATABASE: writer - MYSQL_ROOT_PASSWORD: writerroot \ No newline at end of file