AnalysisSystemForRadionuclide/jeecg-server-cloud/docker-compose-base.yml

73 lines
1.6 KiB
YAML
Raw Normal View History

2023-05-06 15:51:29 +08:00
version: '2'
services:
2024-01-16 16:01:02 +08:00
jdk64:
2023-05-06 15:51:29 +08:00
build:
2024-01-16 16:01:02 +08:00
context: ./jdk64
container_name: jdk64
profiles:
- jdk64
2023-05-06 15:51:29 +08:00
2024-01-16 16:01:02 +08:00
armd-redis:
build:
context: ./redis
2023-05-06 15:51:29 +08:00
ports:
- 6379:6379
2024-01-16 16:01:02 +08:00
container_name: armd-redis
hostname: armd-redis
restart: on-failure
environment:
- TZ=Asia/Shanghai
extra_hosts:
- "armd-redis:172.18.0.2"
profiles:
- redis
armd-vue:
build:
context: ./nginx
ports:
- 443:443
restart: on-failure
environment:
- TZ=Asia/Shanghai
container_name: armd-vue
profiles:
- nginx
volumes:
- "/home/rmsops/nginx/vue-config:/usr/share/nginx/html/static"
- "/home/rmsops/nginx/map:/usr/share/nginx/map"
- "/home/rmsops/nginx/logs:/etc/nginx/logs/"
- "/home/rmsops/nginx/config:/etc/nginx/conf.d/"
# jeecg-boot-mysql:
# build:
# context: ../db
# environment:
# MYSQL_ROOT_PASSWORD: root
# MYSQL_ROOT_HOST: '%'
# TZ: Asia/Shanghai
# restart: always
# container_name: jeecg-boot-mysql
# command:
# --character-set-server=utf8mb4
# --collation-server=utf8mb4_general_ci
# --explicit_defaults_for_timestamp=true
# --lower_case_table_names=1
# --max_allowed_packet=128M
# --default-authentication-plugin=caching_sha2_password
# ports:
# - 3306:3306
2023-05-06 15:51:29 +08:00
# jeecg-boot-rabbitmq:
# image: rabbitmq:3.7.7-management
# ports:
# - 5672:5672
# - 15672:15672
# restart: always
# container_name: jeecg-boot-rabbitmq
# hostname: jeecg-boot-rabbitmq
# environment:
# RABBITMQ_DEFAULT_USER: guest
# RABBITMQ_DEFAULT_PASS: guest