version: '3' services: xpack-mysql: image: mysql:8.0.37 privileged: true restart: always container_name: xpack-mysql hostname: xpack-mysql command: - "--character-set-server=utf8mb4" - "--collation-server=utf8mb4_unicode_ci" ports: - "33306:3306" environment: - MYSQL_ROOT_PASSWORD=mysql_ZTdhRB - MYSQL_DATABASE=xpack volumes: - /vol3/1000/HD3/docker/xpack-mcp/mysql-data:/var/lib/mysql networks: - xpack xpack-mcp-market: image: xpackai/xpack-mcp-market:zhcn container_name: xpack-mcp-market privileged: true restart: always environment: # AES-256-GCM key protecting payment channel config (epay merchant key, stripe secret). # Lives here rather than in the image so the sample key shipped in .env.example # can never decrypt this deployment's config. - PAYMENT_CONFIG_SECRET_KEY=${PAYMENT_CONFIG_SECRET_KEY:?PAYMENT_CONFIG_SECRET_KEY not set - copy .env.example to .env} - PAYMENT_CONFIG_KEY_ID=default networks: - xpack ports: - "8010:80" depends_on: - xpack-mysql - xpack-redis - xpack-rabbitmq xpack-redis: container_name: xpack-redis image: redis:7.2.4 hostname: xpack-redis privileged: true restart: always command: - bash - -c - "redis-server --protected-mode yes --logfile redis.log --appendonly no --port 6379 --requirepass redis_6sJZDm" networks: - xpack xpack-rabbitmq: container_name: xpack-rabbitmq image: rabbitmq:4.1.2-alpine privileged: true restart: always environment: - RABBITMQ_DEFAULT_USER=rabbitmq - RABBITMQ_DEFAULT_PASS=rabbitmq_Gs123dA networks: - xpack networks: xpack: driver: bridge ipam: driver: default config: - subnet: 172.101.0.0/24