version: "3.7" services: scm-server: image: devops.qdhezheng.cn:5000/qdhezheng/shell-scm-server environment: - TZ=Asia/Shanghai - SPRING_PROFILES_ACTIVE=cdshell ports: - 8094:8091 working_dir: /app restart: always volumes: - filedata:/app/upload - ./application-cdshell.yml:/app/application-cdshell.yml networks: my_net: aliases: - scm-server scm-web: image: devops.qdhezheng.cn:5000/qdhezheng/shell-scm-web environment: - TZ=Asia/Shanghai ports: - 9527:80 working_dir: /app restart: always volumes: - "./default.conf:/etc/nginx/conf.d/default.conf" - "./host.js:/usr/share/nginx/html/host.js" networks: my_net: aliases: - scm-web networks: my_net: volumes: filedata: