docker-compose.yml (271B)
1version: '2.1' 2services: 3 postit: 4 ulimits: 5 core: 6 hard: 0 7 soft: 0 8 nproc: 9 soft: 4000 10 hard: 4000 11 build: . 12 volumes: 13 - ./data/:/service/data:rw 14 ports: 15 - 9337:9000 16 mem_limit: 1G 17 memswap_limit: 2G