初始化提交
This commit is contained in:
146
杂项/docker-compose.yml
Normal file
146
杂项/docker-compose.yml
Normal file
@@ -0,0 +1,146 @@
|
||||
version: "3.2"
|
||||
networks:
|
||||
neatlogic:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
|
||||
neatlogic-db:
|
||||
image: neatlogic/neatlogic-db:community-3.2.0
|
||||
container_name: neatlogic-db
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /data/neatlogic/mysql:/var/lib/mysql # MySQL 数据持久化
|
||||
- /data/neatlogic/logs/neatlogic-db/:/app/logs/neatlogicdb/ # 日志持久化
|
||||
ports:
|
||||
- "3306:3306"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 65535
|
||||
hard: 65535
|
||||
environment:
|
||||
NEATLOGIC_HOME: "/app"
|
||||
NEATLOGIC_RUNNER_HOST: "neatlogic-runner"
|
||||
MYSQL_SERVICE_PASSWORD: "neatlogic@901"
|
||||
networks:
|
||||
- neatlogic
|
||||
|
||||
neatlogic-collectdb:
|
||||
image: neatlogic/neatlogic-collectdb:community-3.2.0
|
||||
container_name: neatlogic-collectdb
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /data/neatlogic/mongodb:/data/db # MongoDB 数据持久化
|
||||
- /data/neatlogic/logs/collectdb/:/app/logs/collectdb/ # 日志持久化
|
||||
ports:
|
||||
- "27017:27017"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 65535
|
||||
hard: 65535
|
||||
environment:
|
||||
- NEATLOGIC_HOME:/app
|
||||
networks:
|
||||
- neatlogic
|
||||
|
||||
neatlogic-runner:
|
||||
image: neatlogic/neatlogic-runner:community-3.2.0
|
||||
container_name: neatlogic-runner
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /data/neatlogic/logs/neatlogic-runner/:/app/logs/autoexec-runner/ # 日志持久化
|
||||
ports:
|
||||
- "8084:8084"
|
||||
- "8888:8888"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 65535
|
||||
hard: 65535
|
||||
restart: always
|
||||
environment:
|
||||
- NEATLOGIC_HOME:/app
|
||||
networks:
|
||||
- neatlogic
|
||||
depends_on:
|
||||
- neatlogic-app
|
||||
|
||||
neatlogic-nacos:
|
||||
image: neatlogic/neatlogic-nacos:community-3.2.0
|
||||
container_name: neatlogic-nacos
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /data/neatlogic/nacos:/home/nacos/data # Nacos 数据持久化
|
||||
- /data/neatlogic/logs/neatlogic-nacos/:/home/nacos/logs # 日志持久化
|
||||
ports:
|
||||
- "8848:8848"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 65535
|
||||
hard: 65535
|
||||
depends_on:
|
||||
- neatlogic-db
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_SERVICE_HOST: "neatlogic-db"
|
||||
MYSQL_SERVICE_PORT: 3306
|
||||
MYSQL_SERVICE_DB_NAME: "nacos"
|
||||
MYSQL_SERVICE_USER: root
|
||||
MYSQL_SERVICE_PASSWORD: "neatlogic@901"
|
||||
networks:
|
||||
- neatlogic
|
||||
|
||||
neatlogic-app:
|
||||
image: neatlogic/neatlogic-app:community-3.2.0
|
||||
container_name: neatlogic-app
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /data/neatlogic/logs/neatlogic-app/:/app/logs/neatlogic/ # 日志持久化
|
||||
ports:
|
||||
- "8282:8282"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 65535
|
||||
hard: 65535
|
||||
depends_on:
|
||||
- neatlogic-db
|
||||
- neatlogic-collectdb
|
||||
- neatlogic-nacos
|
||||
environment:
|
||||
NACOS_SERVICE_HOST: "neatlogic-nacos"
|
||||
NACOS_SERVICE_PORT: "8848"
|
||||
NACOS_SERVICE_NAMESPACE: "neatlogic-docker"
|
||||
restart: always
|
||||
networks:
|
||||
- neatlogic
|
||||
|
||||
neatlogic-web:
|
||||
image: neatlogic/neatlogic-web:community-3.2.0
|
||||
container_name: neatlogic-web
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /data/neatlogic/logs/neatlogic-web/:/app/logs/nginx/ # 日志持久化
|
||||
ports:
|
||||
- "8090:8090"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 65535
|
||||
hard: 65535
|
||||
restart: always
|
||||
environment:
|
||||
- NEATLOGIC_HOME:/app
|
||||
networks:
|
||||
- neatlogic
|
||||
depends_on:
|
||||
- neatlogic-app
|
||||
Reference in New Issue
Block a user