Skip to content

Commit

Permalink
chore(project): remove experimental docker run mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Aug 23, 2023
1 parent 5a78788 commit c3aece8
Show file tree
Hide file tree
Showing 32 changed files with 5 additions and 463 deletions.
2 changes: 0 additions & 2 deletions packages/generator-nitro/generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ module.exports = class extends Generator {
'src/proto.ts',
'tests/cypress/cypress/e2e/examples/index.cy.js',
'.eslintrc.js',
'docker-compose.yml',
'docker-compose-dev.yml',
'gulpfile.js',
'CUTAWAYpackage.json',
];
Expand Down
10 changes: 0 additions & 10 deletions packages/generator-nitro/generators/app/templates/.dockerignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,8 @@
"prod:serve": "cross-env NODE_ENV=production nitro-app-serve",<% if (options.themes) { %>
"start": "npm run start:light",
"start:light": "cross-env THEME=light PORT=8081 PROXY=8082 npm run dev",
"start:dark": "cross-env THEME=dark PORT=8083 PROXY=8084 npm run dev",<% } else { %>
"start": "npm run dev",<% } %>
"\n# DOCKER ------- ": "",
"docker:update": "docker-compose build",
"docker:start": "npm run docker:dev:start",
"docker:dev:start": "docker-compose -f docker-compose-dev.yml up",
"docker:dev:console": "docker exec -it <%= name %>_server-dev bash",
"docker:prod": "docker-compose up"
"start:dark": "cross-env THEME=dark PORT=8083 PROXY=8084 npm run dev"<% } else { %>
"start": "npm run dev"<% } %>
},
"keywords": [
"frontend",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ set PORT=8000 && set PROXY=8001 && npm start
set PORT=3001 && npm run prod
```

### Usage with docker

For information on how to use Nitro with docker, please refer to [nitro-docker.md](./nitro-docker.md).

## Configuring

### Config Package
Expand Down
4 changes: 0 additions & 4 deletions packages/generator-nitro/generators/app/templates/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ and start in development mode
npm start
```

### Usage with docker (experimental)

For information on how to use Nitro with docker, please refer to [nitro-docker.md](./project/docs/nitro-docker.md).

## Nitro

For information on how to use Nitro, please refer to [nitro.md](./project/docs/nitro.md).
Expand Down
10 changes: 0 additions & 10 deletions packages/project-nitro-twig/.dockerignore

This file was deleted.

44 changes: 0 additions & 44 deletions packages/project-nitro-twig/Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions packages/project-nitro-twig/docker-compose-dev.yml

This file was deleted.

9 changes: 0 additions & 9 deletions packages/project-nitro-twig/docker-compose.yml

This file was deleted.

8 changes: 1 addition & 7 deletions packages/project-nitro-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@
"prod:check": "npm run check-node-version",
"prod:build": "npm run build",
"prod:serve": "cross-env NODE_ENV=production nitro-app-serve",
"start": "npm run dev",
"\n# DOCKER ------- ": "",
"docker:update": "docker-compose build",
"docker:start": "npm run docker:dev:start",
"docker:dev:start": "docker-compose -f docker-compose-dev.yml up",
"docker:dev:console": "docker exec -it project-nitro-twig_server-dev bash",
"docker:prod": "docker-compose up"
"start": "npm run dev"
},
"keywords": [
"frontend",
Expand Down
35 changes: 0 additions & 35 deletions packages/project-nitro-twig/project/docs/nitro-docker.md

This file was deleted.

4 changes: 0 additions & 4 deletions packages/project-nitro-twig/project/docs/nitro.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ set PORT=8000 && set PROXY=8001 && npm start
set PORT=3001 && npm run prod
```

### Usage with docker

For information on how to use Nitro with docker, please refer to [nitro-docker.md](./nitro-docker.md).

## Configuring

### Config Package
Expand Down
4 changes: 0 additions & 4 deletions packages/project-nitro-twig/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ and start in development mode
npm start
```

### Usage with docker (experimental)

For information on how to use Nitro with docker, please refer to [nitro-docker.md](./project/docs/nitro-docker.md).

## Nitro

For information on how to use Nitro, please refer to [nitro.md](./project/docs/nitro.md).
Expand Down
10 changes: 0 additions & 10 deletions packages/project-nitro-typescript/.dockerignore

This file was deleted.

44 changes: 0 additions & 44 deletions packages/project-nitro-typescript/Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions packages/project-nitro-typescript/docker-compose-dev.yml

This file was deleted.

9 changes: 0 additions & 9 deletions packages/project-nitro-typescript/docker-compose.yml

This file was deleted.

8 changes: 1 addition & 7 deletions packages/project-nitro-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@
"prod:check": "npm run check-node-version",
"prod:build": "npm run build",
"prod:serve": "cross-env NODE_ENV=production nitro-app-serve",
"start": "npm run dev",
"\n# DOCKER ------- ": "",
"docker:update": "docker-compose build",
"docker:start": "npm run docker:dev:start",
"docker:dev:start": "docker-compose -f docker-compose-dev.yml up",
"docker:dev:console": "docker exec -it project-nitro-typescript_server-dev bash",
"docker:prod": "docker-compose up"
"start": "npm run dev"
},
"keywords": [
"frontend",
Expand Down
Loading

0 comments on commit c3aece8

Please sign in to comment.