version: '3.8' # 网络 networks: default: name: default-network external: true services: auth-casdoor: image: "registry.cn-chengdu.aliyuncs.com/infish/pack-casdoor-auth:v1.0.0" restart: always ports: - 36002:8000 volumes: - ./conf:/conf depends_on: - auth-mysql auth-mysql: restart: always image: mysql:5.7.42 volumes: - /data/auth/mysql:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: auth2023 MYSQL_DATABASE: casdoor ports: - 33306:3306