version: '3' services: json_server: image: jeancloud/json-server volumes: - "$DATA_DIR:/usr/lib/json-server" networks: default: ipv4_address: $NET.100 deploy: resources: limits: cpus: '0.50' memory: 100M networks: default: ipam: config: - subnet: $NET.0/24