ehr-app-ehrpim.yaml 592 字节
Newer Older
ibizdev's avatar
ibizdev committed
1 2 3 4 5
version: "3.2"
services:
  ehr-app-ehrpim:
    image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-app-ehrpim:latest
    ports:
6
      - "8080:8080"
ibizdev's avatar
ibizdev committed
7 8 9
    networks:
      - agent_network
    deploy:
10 11 12 13 14
      resources:
           limits:
               memory: 800M
           reservations:
               memory: 400M    
ibizdev's avatar
ibizdev committed
15 16
      mode: replicated
      replicas: 1
17 18 19 20 21 22 23 24 25 26
    volumes:
      - "nfs:/app/file"

volumes:
  nfs:
    driver: local
    driver_opts:
      type: "nfs"
      o: "addr=172.16.240.109,rw"
      device: ":/nfs"
ibizdev's avatar
ibizdev committed
27 28 29 30

networks:
  agent_network:
    driver: overlay
31 32
    attachable: true