version: "3" networks: backset.cn-net: external: true services: web: image: backset/server:1.0 build: context: ./ dockerfile: Dockerfile.release restart: always container_name: backset-server # 容器名称 ports: - "7001:7001" networks: backset.cn-net: ipv4_address: 172.31.0.48 aliases: - backset-server