Skip to content

Commit

Permalink
add nodejs docker image config
Browse files Browse the repository at this point in the history
  • Loading branch information
enimo committed Aug 23, 2021
1 parent 60cef1c commit 46f7f00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env
Expand Up @@ -13,6 +13,7 @@ PORTAINER_IP=172.100.0.7
MYSQL8_IP=172.100.0.8
PHP73_IP=172.100.0.9
STRAPI_IP=172.100.0.10
NODEJS_IP=172.100.0.11


DOCKER_CLUSTER_SUBNET=175.100.0.0/16
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Expand Up @@ -141,7 +141,7 @@ services:


nodejs:
container_name: nodejs16
container_name: nodejs14.17
# image: ccr.ccs.tencentyun.com/tcb-87669051-ffhh/nginx:v20210707
build: ./nodejs/
ports:
Expand All @@ -154,7 +154,7 @@ services:
- ./conf/nodejs:/etc/nodejs:ro,cached
- ./log/nodejs/:/var/log/nodejs/:rw,cached
links:
- php73:php73
- nginx:nginx
environment:
- TZ=Asia/Shanghai
networks:
Expand Down

0 comments on commit 46f7f00

Please sign in to comment.