appstore-1panel/apps/node/21.6.2/docker-compose.yml
2024-03-05 16:39:02 +08:00

20 lines
407 B
YAML

version: '3'
services:
node:
image: node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: always
networks:
1panel-network:
external: true