From b1b32a9aea52c0fd90b70d597513685161c4f2b5 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Thu, 2 Apr 2020 15:39:53 +0300 Subject: [PATCH] meh --- .devcontainer/Dockerfile | 4 ---- .devcontainer/devcontainer.json | 16 --------------- .devcontainer/docker-compose.yml | 35 -------------------------------- 3 files changed, 55 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 29cf5f8..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM node:lts - -RUN apt update -RUN apt install -y git zsh \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 5064a36..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,16 +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