mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-01 17:32:25 +08:00
19 lines
401 B
YAML
19 lines
401 B
YAML
services:
|
|
node:
|
|
image: 1panel/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
|