version: '2' services: jdk64: build: context: ./jdk64 container_name: jdk64 profiles: - jdk64 armd-redis: build: context: ./redis ports: - 6379:6379 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 # 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