Skip to content

Commit

Permalink
nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 authored Mar 31, 2024
1 parent 7451ea6 commit 8a16e61
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 144 deletions.
6 changes: 3 additions & 3 deletions apps/nodejs/.env
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
W9_REPO=php
W9_REPO=node
W9_DIST=community
W9_VERSION=8.1

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=php
W9_ID=nodejs
W9_HTTP_PORT_SET=9001
W9_HTTP_PORT=80
W9_HTTP_PORT=3000
W9_URL=sample.domain.com
W9_URL_REPLACE=true
W9_NETWORK=websoft9
Expand Down
7 changes: 4 additions & 3 deletions apps/nodejs/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
services:
php:
node:
container_name: ${W9_ID}
image: $W9_REPO:$W9_VERSION-apache
restart: unless-stopped
env_file: .env
tty: true
ports:
- $W9_HTTP_PORT_SET:80
- $W9_HTTP_PORT_SET:3000
volumes:
- source:/var/www/html
- source:/app

volumes:
source:
Expand Down
132 changes: 0 additions & 132 deletions apps/nodejs/src/Dockerfile

This file was deleted.

3 changes: 3 additions & 0 deletions apps/nodejs/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
1 change: 0 additions & 1 deletion apps/nodejs/src/script.sh

This file was deleted.

10 changes: 5 additions & 5 deletions apps/nodejs/variables.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "php",
"trademark": "PHP",
"name": "nodejs",
"trademark": "Node.js",
"release": true,
"fork_url": "https://github.com/Websoft9/docker-library/tree/main/apps/php",
"fork_url": "https://nodejs.org/en",
"edition": [
{
"dist": "community",
"version": ["8.1","8.0","7.4","7.3","7.2","7.1","7.0","5.6"]
"version": ["21","20","19","18","17","16","15","14"]
}
],
"requirements": {
"cpu": "1",
"memory": "1",
"disk": "1",
"url": "https://github.com/Websoft9/docker-library/tree/main/apps/php"
"url": "https://nodejs.org/docs/latest/api/documentation.html"
}
}

0 comments on commit 8a16e61

Please sign in to comment.